How to solve this problem without using in-built func

i dont know how to do this without using in built func

@jatin111 Hi bro, here is the way to approach:-
We traverse the string from left to right , extract the character but subtracting the ASCII value of ‘0’ from it. Note that we have to raise this extracted digit to the power n , where n is the length of remaining string before adding it to the final number. We recursively traverse the string and update the value of number. In the base case , we return this value.

Happy coding!