Next Greater Element In Linked List Leetcode Problem 543