Fiz uma entrevista na empresa Chethan's Charters- GD FEA Employer.
Entrevista
Given an array A[] consisting 0s, 1s and 2s. The task is to write a function that sorts the given array. The functions should put all 0s first, then all 1s and all 2s in last.