chevron_leftGreedy & DP All topics

Greedy Algorithms

345681012

One room, many meetings, and they overlap. Fit in as many as possible. The bars are the meetings, sorted by when they END — and that sort is the entire algorithm.

step 01/14

  • comparing
  • in final place
  • found it

Practice

spec · json ↗