Capital Trust Interview Question

Basic Oops question and some question about data structures