Implement Queue using Stacks | Explained, Visualized and Implemented | Geekific
About
No channel description available.
Video Description
Discord Community: https://discord.gg/dK6cB24ATp GitHub Repository: https://github.com/geekific-official/ Most, if not all of the programming languages you might use during an interview are object oriented. And to see if you are familiar with data structures in OOP, the interviewer might ask you to actually design and implement a data structure from scratch, it could be a LinkedList, a stack, a queue, a map etc. We previously explained and implemented several data structures in our data-structure-series; in this video, we implement the Queue data structure while making use of the built-in Stack classes and functionalities in Java. LeetCode Problems solved in this video: - https://leetcode.com/problems/implement-queue-using-stacks/ Timestamps: 00:00 Introduction 00:34 Explanation and Visualization 02:35 Implementation and Testing 03:57 Thanks for Watching! If you found this video helpful, check other Geekific uploads: - Object-Oriented Programming Fundamentals: https://youtu.be/Vfk6sExu8-4 - SOLID Principles and Best Practices: https://youtu.be/HoA6aZPR5K0 - Recursion Made Simple, Recursive Methods: https://youtu.be/r8KJ2AJWkHs - Use-Case and Sequence Diagrams: https://youtu.be/el501qi0KtI - Introduction to Dynamic Programming: https://youtu.be/IjpoE28Ii34 - Graphs, The Fundamentals: https://youtu.be/UUuFT5K6zrI - Trees Compared and Visualized, BST vs AVL vs RedBlack vs Splay vs Heaps: https://youtu.be/hmSFuM2Tglw - Generics and Wildcards in Java, Invariance vs Covariance vs Contravariance: https://youtu.be/FXAUXvPNKi8 - Reading from and Writing to a file in Java, Transient Java Keyword: https://youtu.be/_hN-m7qOn9Y - What is a Thread? (Process, Program, Parallelism, Scheduler Explained): https://youtu.be/hN2Yrf4tqTY - Domain-Driven Design Made Simple: https://youtu.be/H5--9pMmuK4 #Geekific #CodingInteview #QueueUsingStacks #LeetCode #Java #Google #Amazon #Meta #Microsoft #Apple #Netflix
Boost Your Coding Skills: Essential Tools
AI-recommended products based on this video
![LISEN USB C Cable 240W - [6.6ft 2Pack] Nylon Braided Type C Cable Fast Charge PD3.1 USBC Fast Charging Data Cord for iPhone 17 16 Pro Max Samsung MacBook Pro,Xbox,iPad Pro/Air, Switch 2](https://m.media-amazon.com/images/I/81W90296KhL._AC_UL960_FMwebp_QL65_.jpg)
LISEN USB C Cable 240W - [6.6ft 2Pack] Nylon Braided Type C Cable Fast Charge PD3.1 USBC Fast Charging Data Cord for iPhone 17 16 Pro Max Samsung MacBook Pro,Xbox,iPad Pro/Air, Switch 2

Of Course It's Good!: Aggressively Delicious Meals ANYONE Can Make and EVERYONE Will Love

Genki 1 Third Edition: An Integrated Course in Elementary Japanese 1 Textbook & Workbook Set



















