greedy-sort-mutates-input

Status: IN

`maximum-units-on-a-truck/solution.py` uses `boxTypes.sort()` which mutates the caller's list in-place rather than using `sorted()` for a non-destructive copy.

Source: entries/2026/06/06/maximum-units-on-a-truck-solution.md

JSON