Algorithms Index

less than 1 minute read

Published:

This is the central index for the C++ algorithms series.

Core

  1. Basic Algorithms
  2. Trees
  3. Disjoint Set Union

Graph Algorithms

  1. Shortest Path and MST
  2. Topological Sort and SCC

Geometry and Counting

  1. Max Points on a Line
  2. Detect Squares

Grid Traversal

  1. Number of Islands
  2. Max Area of Island

Array and Pointer Patterns

  1. Sliding Window and Two Pointers
  2. Monotonic Stack and Deque
  3. Binary Search Patterns
  4. Next Greater Element II

Dynamic Programming and Strings

  1. Dynamic Programming
  2. String Algorithms

Range Data Structures

  1. Segment Tree and Fenwick Tree

Stateful Design and Scheduling

  1. Design a Hit Counter
  2. Assign Rental Cars to Time-Window Requests

Leave a Comment