LeetCode
Next Greater Node In Linked List
Click
here
for an explanation.