mirror of
https://github.com/labuladong/fucking-algorithm.git
synced 2026-03-13 08:42:27 +08:00
remove fixes in another problem
This commit is contained in:
@@ -53157,7 +53157,7 @@ func deleteDuplicates(head *ListNode) *ListNode {
|
||||
```java
|
||||
// by labuladong (java)
|
||||
class Solution {
|
||||
public ListNode deleteDuplicates(ListNode head) {
|
||||
public deleteDuplicates(ListNode head) {
|
||||
if (head == null) return null;
|
||||
ListNode slow = head, fast = head;
|
||||
while (fast != null) {
|
||||
|
||||
Reference in New Issue
Block a user