link: https://ide.codingblocks.com/s/178497
In the problem āAll indicesā, although I cleared all the test cases, Iām not sure if my solution is the best possible solution. Please let me know if thereās a possible improvement in the code.
Thanks!