Great Problems For Practice
215. Kth Largest Element in an Array (Medium): Quick Select; Manually Implement Heap; API usage of nth_element
, make_heap
, push_heap
, pop_heap
1235. Maximum Profit in Job Scheduling (Hard): DP + Binary search because of sparse value (compared to continuous indexes)
1830. Minimum Number of Operations to Make String Sorted (Hard): permutation rank with duplicates
472. Concatenated Words (Hard): Trie + DP
DP on Subsets OR Backtrack to Fill Buckets
Geometry
Trie + XOR
BIT (Binary Index Tree) or Segment Tree
Backtracking
Stack operation on string
Permutation
Mono Stack / Mono Deque
Sorting
Binary Indexed Tree
Last updated