Microsoft Interview Question

Leetcode linked list, blind 75