IGATE interview question

Basic programming and algorithms like binary search etc.