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
|
58 Discussions
|
Please Login in order to post a comment
I'm getting time limit exceeded. Any idea?
if you use Queue internally who gonna know ??
There's a typo in the sample input.
1 14 enqueue 42
This line should read
1 14 enqueue 14
here is hackerrank queue using two stacks problem solution in Python, Java, C++, C and javascript