Algorithms for Life
open navigation menu
Tree Travarsal
Tree
Recursion
Template
Two pointers - Template 1
Array
Two Pointers
Template
Two pointers - Template 2
Array
Two Pointers
Template
Prefix Sum
Array
Template
Efficient string building
Array
String
Template
Find number of subarrays that fit an exact criteria
Array
Template
Monotonic increasing stack
Array
Stack
Template
Binary search: duplicate elements, left-most insertion point
Search
Template
Binary search: duplicate elements, right-most insertion point
Search
Template
Binary search: for greedy problems
Search
Template
Backtracking
Search
Template
Sliding Window
Array
Two Pointers
Template
Copyright © 2024 - Designed by
payamd.com