Think Surgical interview question

General Questions about sorting and searching