Goldman Sachs Interview Question

Work on CoderPad question to calculate snowfall