Thank you for going through this solution, i was finally to wrap my head around it and your thought process steps help me think about future problems more intuitively.
@Akhil Sarikonda , for sure, my github is : github.com/ThinkFWD , Its somewhat a dormant account ever since microsoft took over github. I try to keep my code locally now. But might consider reposting these solutions if it helps. Let me know and i can post these on my github as well.
Thank you for the solution but I'm a bit confused regarding the time complexity. How can the time complexity be O(n) if you're iterating over the array's length twice? Wouldn't the time complexity be O(2n)?
time wasted, the explanation is so poor , for example, output[nums.length-1] = output[output.length-2]; also, for(let j=num.length-2] is confused as fk
Thank you for going through this solution, i was finally to wrap my head around it and your thought process steps help me think about future problems more intuitively.
Absolutely loving it
@Akhil Sarikonda thank you! Will do for sure!
@@ThinkFWD Can you share your github link please.
@Akhil Sarikonda , for sure, my github is : github.com/ThinkFWD , Its somewhat a dormant account ever since microsoft took over github. I try to keep my code locally now. But might consider reposting these solutions if it helps. Let me know and i can post these on my github as well.
Great stuff here. Keep up the videos!
5fivezero0 thank you! I will do for sure
I wish you could explain more while you're writing the code, because I keep getting lost
Same, this was hard to follow x.x
Great explanation - would appreciate it a bit slower on the final solution, how is the cache value calculated?
Thank you for the solution but I'm a bit confused regarding the time complexity. How can the time complexity be O(n) if you're iterating over the array's length twice? Wouldn't the time complexity be O(2n)?
time wasted, the explanation is so poor , for example, output[nums.length-1] = output[output.length-2];
also, for(let j=num.length-2] is confused as fk