NGR - Nearest Greater Element to Right of every element

Minimum Remove to Make Valid Parentheses

Longest Absolute File Path Problem

Sorting a Stack using push,pop,isEmpty and peek

April 5, 2022 · 6 min · TagsList of tags for the post  ctci ·  stack

Implement 3 stacks in 1 array

Implement insertion sort with stacks

April 4, 2022 · 3 min · TagsList of tags for the post  stack

Stack with find-min/find-max in O(1) time

Circular Stack

Stack DS to implement constant time Minimum element lookup

Array implementation of stack

This site uses cookies to improve your experience on our website. By using and continuing to navigate this website, you accept this. Privacy Policy