Dexterity Capital interview question

How do you reverse a list in place?