Thank you sir for the wonderful video one more question sir for the reversal of the string if question is given as not to use default methods provided by programming language what approach will you take do you manually loop through it or use recurssion to reverse the string do please let me know sir thank you
@CodeWithZiАй бұрын
Thank you for your question! If we’re not allowed to use built in methods for reversing the string, I would manually loop through it in reverse order.
@CrownlessXАй бұрын
Why don't you use 2 pointers(head and tail of the list) and consider only applicable chars?
@CodeWithZiАй бұрын
Thanks for your comment, that approach also works!