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.
2 parents 7448846 + 22e4496 commit 548413aCopy full SHA for 548413a
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