Goldman Sachs interview question

Questions straight from Leetcode top GS problems; reverse a list in place