← Back to Learn
Bin Packing
Pack items into fixed-capacity bins using First Fit Decreasing. Items are sorted largest-first, then placed in the first bin with room.
0/10
speed
8
items
0
bins used
0%
utilization
0
lower bound
items 8
capacity 10
seed ⓘ 42
setup
8 items to pack into bins of capacity 10. Sort largest-first, then use First Fit.
complexity
FFD: O(n log n) Optimal: NP-hard