Morningstar interview question

Some system design questions and walking through some Java code to improve it and to find defects