Software AG interview question

Advanced java, DS/Algo, Puzzles and Design