Sort Colors — Two Pointers
Rearrange a cart of triage-tagged trays so the lowest tags come first, then the middle ones, then the highest, reordering the cart itself.
Two Pointers · Medium
Rearrange a cart of triage-tagged trays so the lowest tags come first, then the middle ones, then the highest, reordering the cart itself.
Two Pointers · Medium