Epic interview question

Numerical problems (high school level)