Problem 846 · Medium

Hand of Straights

Always start a straight at the smallest remaining card and consume that card count of whole groups.

Open the interactive visualisation