Skip to content

Stack Queue

Mission Peace edited this page Apr 19, 2016 · 2 revisions
  1. Implement a circular queue using an array of fixed size - CircularQueue.java
  2. Find maximum size rectangle in histogram - MaximumHistogram.java
  3. Given absolute unix like path simply it - SimplyPath.java
  4. Reverse stack using recursion - ReverseStackUsingRecursion.java
  5. Given a string with unbalanced brackets how do you remove minimum number of extra brackets so that you are left with balanced brackets in the string - RemoveExtraBrackets.java
  6. Remove duplicates from a string while maintaining order and getting lexicographically smallest string - RemoveDuplicateMaintainingOrder.java
  7. Find median in stream of numbers - MedianFinder.java
Clone this wiki locally