modify every linked list related problem in leetcode