We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Queue using Two Stacks
- Discussions
Queue using Two Stacks
Queue using Two Stacks
Sort by
recency
|
244 Discussions
|
Please Login in order to post a comment
I hate on leetcode style questions but my views are slowly changing. It's pretty cool to learn that by popping a LIFO into another LIFO you get a FIFO.
C# solution:
My answer with Typescript, cause no starting function, i was write for myself
JavaScript Solution:-
Python Solution