Morgan Stanley Interview Question

Conditional probabilty, algorithms and data structures, OOP.