HARMAN interview question

Questions was very easy, mostly was from core java, program related to bindary search traversal