This is my Solution using While : https://ide.codingblocks.com/s/432759
Does anyone have recursive solution?
This is my Solution using While : https://ide.codingblocks.com/s/432759
Does anyone have recursive solution?
Yes, I wanna recursive apporach to solve this problem
@Deepak_nsit i have given you this so that you can get hint about how you can do this with recursion.