Coding Juniors interview question

Questions related to sorting and search(linear/binary)