Morgan Stanley interview question

Exception Handling, Sorting, Spring