Micro Focus interview question

How to sort an 100-sized array that contains only 0,1, 2 ?

Interview Answer

Anonymous

11 Nov 2017

sort 0, (1,2) firstly, and then sort 1, 2