Whats the error in my code?


This code is not cmpiling

I am unable to understand ur logic… pls explain it using comments
or refer this https://ide.codingblocks.com/s/585692
Prateek sir has already explained the same very well in video

instead of taking the size 64 i am counting the max required size in particular case

https://ide.codingblocks.com/s/585696 approach is same as this one just trying to use only required spae

ur code is running fine and giving the right output… what issue are u facing?

just trying to use only the space required, not 64 in every case

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.