Compute decay, OLS, and classic probability results | Upstart Interview Question