Dutch National Flag problem
Feb 5, 2022 · 2 min read · Problem Statement Given an array containing 0s, 1s and 2s, sort the array in place. You should treat numbers of the array as objects, hence, we can’t count 0s, 1s, and 2s to recreate the array. The flag of the Netherlands consists of three colours: ...
Join discussion




