Nikolay Domashenko's submission of Pseudo Sorted Array | CodeChef