Pegasystems interview question

Related to Java, SQL, Collections, Puzzles and etc.