JPMorganChase Interview Question

Python datetime manipulation; Probability of triangle