Citadel interview question

programming questions and probabilities