Equal Stacks is a programming challenge on HackerRank that uses the stack data structure. You need to balance out 3 stacks such that they have the maximum height. Watch the video to understand the problem in a simplified manner. I then work along with you to solve it first using a Brute Force approach, and then an efficient approach. All along with visuals and explanations.
00:00 - Intro
00:57 - Problem Statement and Test Case
03:58 - Brute Force Solution
05:37 - Efficient Solution
09:00 - Dry-run of code
12:13 - Final thoughts
📚 Links I talk about in the video:
Stack Data Structure: • Stack Data Structure explained with animat...
Actual problem on HackerRank: https://www.hackerrank.com/challenges...
Code on Github: https://github.com/nikoo28/java-solut...
Test cases on GitHub: https://github.com/nikoo28/java-solut...
📘 A text based explanation is available at: https://studyalgorithms.com/array/hac...
🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg...
💻 Get Social 💻
Follow on Facebook at: / studyalgos
Follow on Twitter at: / studyalgorithms
Follow on Tumblr at: / studyalgos
Subscribe to RSS feeds: https://studyalgorithms.com/feed/
#hackerrank #programming #tutorial
In questa pagina del sito puoi guardare il video online HackerRank - Equal Stacks | Full Solution with Examples and Visuals della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Nikhil Lohia 26 ottobre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 14,255 volte e gli è piaciuto 320 spettatori. Buona visione!