Try   HackMD

Greedy Algorithm Study Guide

Selection Problems

Problems where the algorithm must make a series of choices, selecting the best option at each step.

Optimization Problems

Problems that involve finding the best solution among a set of possible solutions.

Matching Problems

Problems involving pairing or assigning elements from different sets.

Graph Problems

Problems that involve graph structures and can be solved using greedy approaches.

Matrix Problems

A subset of graph problems dealing with 2D matrices.

Traversal Problems

Problems that involve moving through a structure in a specific manner.

Sequential Decision Problems

Problems where decisions must be made in sequence, with each decision affecting future options.

Problem Difficulty Legend

  • 🟩 Easy
  • 🟨 Medium
  • 🟧 Medium-Hard
  • 🟥 Hard
  • ⬛ Very Hard

Additional Resources