Implement Stack using Queues - LeetCode

Pubblicato il: 27 agosto 2023
sul canale di: CodingNinja
766
6

Let's solve Implement Stack using Queues with Python, JavaScript, Java and C++ LeetCode #225! This is LeetCode daily coding challenge on August, 28th, 2023.

------------------------------------------------------------------------------------------------------
■ Please subscribe to my channel from here.
   / @codingninjaexamazon  

■ Relaxing Channel I've been working on. Please subscribe from here.
https://www.youtube.com/@relaxingMusi...

■ I write an article about this question. Please upvote it!
https://leetcode.com/problems/impleme...
------------------------------------------------------------------------------------------------------

■ Timeline
0:00 Read the question of Implement Stack using Queues
0:38 Coding with two queues
1:49 Explain how to Implement pop and top functions using Queues with two queues
9:35 Time Complexity and Space Complexity with two queues
10:10 Coding with one queue
12:40 Time Complexity and Space Complexity with one queue

■ Blind 75 LeetCode questions
   • Blind 75 LeetCode Questions  

■ Twitter
  / keetcodeamazon  

■ Instagram
  / keetcodeexamazon  

■ Problem Link
https://leetcode.com/problems/impleme...

■ Codes in the video
Python with one queue
https://github.com/marutaro/leetcode/...

Python with two queues
https://github.com/marutaro/leetcode/...

JavaScript with one queue
https://github.com/marutaro/leetcode/...

JavaScript with two queues
https://github.com/marutaro/leetcode/...

Java with one queue
https://github.com/marutaro/leetcode/...

Java with two queues
https://github.com/marutaro/leetcode/...

C++ with one queue
https://github.com/marutaro/leetcode/...

C++ with two queues
https://github.com/marutaro/leetcode/...

■ Playlists
Array&Hash:   • Video  
Two pointers:   • Video  
Stack:   • Car Fleet - LeetCode #853 with python...  
Sliding Window:   • Permutation in String - LeetCode #567...  
Binary Search:   • Binary Search - LeetCode #704 with py...  
Dynamic Programming :    • Video  
Linked List:   • Video  
Heap:   • Last Stone Weight - LeetCode #1046 wi...  
Tree:   • Video  
Backtracking:   • Video  
Greedy :    • Video  
Graph:   • Max Area of Island - LeetCode #695 wi...  
Math :    • Video  
Easy Level Questions :    • Video  
Medium Level Questions :    • Permutation in String - LeetCode #567...  
Hard Level Questions :   • Merge k Sorted Lists - LeetCode #23 w...  

#pythonprogramming #leetcode #algorithm #coding #programming #python #javascript #java #cplusplus


In questa pagina del sito puoi guardare il video online Implement Stack using Queues - LeetCode della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodingNinja 27 agosto 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 766 volte e gli è piaciuto 6 spettatori. Buona visione!