Pergunta de entrevista da empresa Oracle

If given a sorted array of characters and an input character. Output the next highest character in the array. Had to cover unit tests and edge cases and code in a laptop with an IDE. The interviewer watched me code the problem.