You are viewing a single comment's thread. Return to all comments →
Hi,
your solution may be correct but may not be efficient .you can optimized your solution further.
Here is the video explanation of my solution in O(n) time -
https://www.youtube.com/watch?v=1gxFE9EfanE&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
I would really appreciate your comments and feedback on my video.
Seems like cookies are disabled on this browser, please enable them to open this website
Birthday Cake Candles
You are viewing a single comment's thread. Return to all comments →
Hi,
your solution may be correct but may not be efficient .you can optimized your solution further.
Here is the video explanation of my solution in O(n) time -
https://www.youtube.com/watch?v=1gxFE9EfanE&list=PLSIpQf0NbcCltzNFrOJkQ4J4AAjW3TSmA
I would really appreciate your comments and feedback on my video.