Categorygithub.com/SmartsYoung/LeetCode-in-GoAlgorithms0083.remove-duplicates-from-sorted-list
package
0.0.0-20210525112244-a601ee6fe7cf
Repository: https://github.com/smartsyoung/leetcode-in-go.git
Documentation: pkg.go.dev

# README

83. Remove Duplicates from Sorted List

题目

Given a sorted linked list, delete all duplicates such that each element appear only once.

For example,
Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.

解题思路

见程序注释

# Structs

ListNode is singly-linked list.