Problem 3477 · Easy

Fruits Into Baskets II

Place each fruit into the leftmost unused basket that is large enough, and count the fruits that find none.

Open the interactive visualisation