Solved problem 2
Solved A
First attempt at ladders: correct but too slow
Linear time but incorrect
Solved C