← All problems
Medium · Arrays & Hashing

Sort Colors

Sort 0, 1 and 2 in place in one pass.

Full problem and submission ↗
main.js

Console

Ready