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
Auf dieser Seite können Sie das Online-Video HackerRank - Equal Stacks | Full Solution with Examples and Visuals mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Nikhil Lohia 26 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 14,255 Mal angesehen und es wurde von 320 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!