archgaelix
Uses
Archive
DSA
Uses
Archive
DSA
Balanced parenthesis
#string
#st-q
Read more →
Implement stack from scratch
#st-q
Read more →
Implement queue from scratch
#st-q
Read more →
Implement 2 stack in an array
#st-q
Read more →
Find the middle element of a stack
#st-q
Read more →
Implement N stacks in an array
#st-q
Read more →
Reverse a string using stack
July 08, 2021
#st-q
Read more →
Design a stack that supports getmin() in O(1) time and O(1) extra space
#st-q
Read more →
Find the next greater element
#st-q
Read more →
Celebrity
#st-q
Read more →
Arithmetic expression evaluation
#st-q
Read more →
Evaluation of postfix expression
#st-q
Read more →
Implement a method to insert an element at its bottom without using any other data structure
#st-q
Read more →
Reverse a stack using recursion
#st-q
Read more →
Sort a stack using recursion
#st-q
Read more →
Merge overlapping intervals
#st-q
Read more →
Largest rectangular area in histogram
#st-q
Read more →
Length of the longest valid substring
#st-q
Read more →
Expression contains redundant bracket
#st-q
Read more →
Implement stack using queue
#st-q
Read more →
Implement stack using deque
#st-q
Read more →
Stack permutations
#st-q
Read more →
Implement queue using stack
#st-q
Read more →
Implement N queue in an array
#st-q
Read more →
Implement a circular queue
#st-q
Read more →
LRU cache implementation
#st-q
Read more →
Reverse a queue using recursion
#st-q
Read more →
Reverse the first K elements of a queue
#st-q
Read more →
Interleave the first half of the queue with second half
#st-q
Read more →
Find the first circular tour that visits all petrol pumps
#st-q
Read more →
Minimum time required to rot all oranges
#st-q
Read more →
Distance of nearest cell having 1 in a binary matrix
#st-q
Read more →
First negative integer in every window of size K
#st-q
Read more →
Check if all levels of two trees are anagrams
#st-q
Read more →
Sum of minimum and maximum elements of all subarrays of size K
#st-q
Read more →
Minimum sum of squares of character counts in a given string after removing K characters
#st-q
Read more →
Next smaller element
#st-q
Read more →
Older posts
→