UP Devlabs interview question

Binary sorting algorithm, other programming questions