Get rekt second years. Question 3 done in O(N)