Skip to content

Commit 5b27a4b

Browse files
authored
Updated the requested changes
1 parent d283151 commit 5b27a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsa-solutions/lc-solutions/0000-0099/0019.Remove-N-Node-From-end-of-list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ var removeNthFromEnd = function(head, n) {
131131
return res.next;
132132
};
133133
```
134-
##Step by Step Algorithm
134+
## Step by Step Algorithm
135135
1: Initialize variables:
136136

137137
- We create a dummy node res with a value of 0 and set its next pointer to the head of the original list. This dummy node helps in handling edge cases when removing the first node.

0 commit comments

Comments
 (0)