Printing in reverse order with extra alphabets


This is my code. I have done only when single digit is considered. Don’t know how to do it for 2 or more digits. also for the 1 digit case it prints answer in reverse order with some extra alphabets

@tanjuljain19 hey that is correct logic for single digit with slight error also same logic will be applied for double as take input as string and for single digit call recursion on current index+1 and append 0th character to current ans ,also for double digit if no formed from first 2 digits is within 1 to 26 than call recursion to current index+3 and append current digit formed to this ans of recursion,here is code for reference:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.