Aanchal PatialFollowJul 20, 2020·1 min readDay 20 of July LeetCode ChallengeRemove all elements from a linked list of integers that have value val.Example:Input: 1->2->6->3->4->5->6, val = 6Output: 1->2->3->4->5