MoonX interview question

Project related, binary search