Citadel Securities Interview Question

Price an American option via backward induction in Python