From naive comparisons to an elegant one-pass solution, visualized step by step
Press → or Space to continue