Morgan Stanley interview question

They asked me question based on probability, and basic question on stacks