CaptureRx interview question

Binary Search and a tree coding question and also SQL , OOPS question with that