Great Problems For Practice

215. Kth Largest Element in an Array (Medium)arrow-up-right: Quick Select; Manually Implement Heap; API usage of nth_element, make_heap, push_heap, pop_heap

1235. Maximum Profit in Job Scheduling (Hard)arrow-up-right: DP + Binary search because of sparse value (compared to continuous indexes)

1830. Minimum Number of Operations to Make String Sorted (Hard)arrow-up-right: permutation rank with duplicates

472. Concatenated Words (Hard)arrow-up-right: 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