Meta interview question

Arrays mixing and sorting in place