FREE RESOURCES

The Knowledge Library

Crack the code without the headache. Explore our interactive guides to algorithms, complexity, and the secret life of data.

Start With The Calculator, Then Learn The Pattern

If you want the answer quickly, try the time complexity calculator. If you want to understand why the answer is O(log N), O(N), or O(N²), these tutorials are the next step.

Arrays8 min read

Two Pointers Technique

Optimize array and string problems by using two references to iterate from different ends or at different speeds.

Read Guide
Arrays12 min read

Sliding Window

Efficiently solve problems involving contiguous subarrays or substrings by maintaining a moving window of elements.

Read Guide