Question d’entretien chez Goldman Sachs

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