Arrays & Strings
Solve most array and string problems in linear or log time without brute force.
5 challenges · ~4 h
- 1Implement Binary Search Variantsbounds and search-the-answer~50 minNot started
- 2Implement Two-Pointer Algorithmsconverging pointers on sorted input~50 minNot started
- 3Implement Prefix Sums and Kadanerange sums and difference arrays~50 minNot started
- 4Build a Sliding-Window Metrics Toolkitvariable windows and monotonic deques~55 minNot started
- 5Implement KMP and Rabin-Karp Searchfailure function and rolling hash~60 minNot started