Morgan Stanley Interview Question

Rain water problem and designing a coffee ordering system.