Place items into the earliest bin that fits
Bins have capacities and items arrive in order. Put each item into the first bin, from left to right, that still has room for it. Return where each item goes. Do better than scanning every bin per item.
No answer yet. Write the first one; the best answer gets endorsed.
