Hand of Straights — Greedy

Decide whether a set of numbered cards can be grouped into runs of consecutive values, each run of one fixed size, using every card once.

Greedy · Medium

More in Greedy

All algorithm problems