Domanda di colloquio di Rivian

The coding question came from LeetCode, and involved manipulating a linked list.