Sort array of 0s, 1s, 2s in-place in one pass without using sort library. Known as Dutch National Flag problem.
Examples