Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 15229cf

Browse filesBrowse files
authored
Update Linked List/README.markdown
1 parent 81e2726 commit 15229cf
Copy full SHA for 15229cf

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎Linked List/README.markdown‎

Copy file name to clipboardExpand all lines: Linked List/README.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ Iterative Approach:
486486
Recursive Approach:
487487
```swift
488488
public func reverse(node: head) {
489-
if (!head || !(head.next)) {
489+
if !head || !head.next {
490490
return head
491491
}
492492
let temp = reverse(head.next)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.