We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7448846 commit 22e4496Copy full SHA for 22e4496
Linked List/LinkedList.playground/Contents.swift
@@ -176,7 +176,7 @@ public final class LinkedList<T> {
176
list.head?.previous = prev
177
178
list.last?.next = next
179
- next?.previous = list.last?.next
+ next?.previous = list.last
180
}
181
182
Linked List/LinkedList.swift
@@ -166,7 +166,7 @@ public final class LinkedList<T> {
166
167
168
169
170
171
172
0 commit comments