Citadel Securities interview question

Price an American option via backward induction in Python