GlobalLogic Interview Question

java collections, merge sort algorithm and a puzzle