SirionLabs interview question

Core Java, Algorithms, data structures, puzzles, multithreading