Linked List Practice Problems Leetcode 150