Morgan Stanley Interview Question

generic class code