GoLang Solution For LeetCode Problem: Remove Linked List Elements
Solving Remove Linked List Elements in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Remove all elements from a linked list of integers that have value val.
Input: 1->2->6->3->4->5->6, val = 6 Output: 1->2->3->4->5
See the full details of the problem Remove Linked List Elements at LeetCode
Originally posted at: @github.com/halfrost/LeetCode-Go