hi,
why we are considering 0 at position -1?
Explanation doubt
Hello @vatsal50 could you please share the code or something in which i can see where you are talking about?
explanation video of the problem
please explain algorithm again, I haven’t understood anything
in array indexing starts from 0 only so he just to expain he is telling that for initial value of count from where we will start is 0 and that will be at -1 index because the array starts from 0 indexing
okay we will discuss again.
but could you please tell me in which part are not able to understand or in which part you have major doubts?
usage of map I havent understood
Reply…
Please re-open this doubt. Any other TA will respond to it.
Is there anyone who can explain?
Reply …