Oracle interview question

puzzles, data structure,java