Globant Interview Question

0 and 1 array segregation