Anytime AI interview question

Two Sum problem and Binary Search Easy problem