Pergunta de entrevista da empresa Vartana

- flatten nested arrays - sort an array containing 0s, 1s, and 2s in O(n) time complexity