LTM Limited interview question

1. Basic java questions 2. Binary Search