package
0.0.0-20241125063422-a7e1e0bf04b0
Repository: https://github.com/blueblue0102/leetcode-go.git
Documentation: pkg.go.dev
# README
83. Remove Duplicates from Sorted List
https://leetcode.com/problems/remove-duplicates-from-sorted-list/
刪除重覆出現過的數字
由於題目已經確保所給的 Linked List 是排序過的
因此簡單地進行移除即可
這題非常的簡單,甚至不需要 sentinel node 也不需要雙指針就能進行解答
Takeaway
無