Rivian Interview Question

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