Crio.Do interview question

binary search on answers ,two sum leetcode