Velotio interview question

Binary search and string array question