LeetCode Problem 1089. Duplicate Zeros || Java Solution Walkthrough

preview_player
Показать описание
LeetCode is a great platform for people who want general coding practice, whether that be for interviews or just wanting to practice their problem solving. I will be taking you through all the steps of finding the optimal solution to each problem on the site following a logical ordering setout by LeetCode themselves.

In this video, we are going over the problem 1089. Duplicate Zeros, where the goal is to loop through the array of numbers, and every time a 0 is found, add a zero at the next index, and shift the rest of the elements to the right one. Any elements that over flow from the array are just ignored.

~~~ Stay Up To Date With My Social Media ~~~

~~~ Background Music Used In My Video ~~~

🎵 Song: 'Sappheiros - Embrace' is under a creative commons license license.
🎶 Music promoted by BreakingCopyright:

🎵 Song: 'Danlsan - Free With You' is free to use if you give credits.
🎶 Music promoted by BreakingCopyright:

🎵 Song: 'Insomnia - Sarah Jansen' is free to use on social media as long as credits are included
🎶 Music promoted by BreakingCopyright:

#unknownkoder #leetcode #algorithms
Рекомендации по теме
Комментарии
Автор

This video should've more views and likes than what it's now. Great solution walkthrough.

dk--
Автор

Not gonna lie, this series kinda got me into Leetcode! I'm doing many of the same problems you're doing but most of my solutions are in C++. :)

dominickwiley
join shbcf.ru