forked from knaxus/problem-solving-javascript
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit d9ab18c
Fix LinkedList removeAt()
1.added base case for removeAt(1)
2.switched assigment on line knaxus#138 where previous and current where pointing to the same node1 parent 9e01c43 commit d9ab18c
1 file changed
+26
-23
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 | - | ||
126 | - | ||
127 | - | ||
128 | - | ||
129 | - | ||
130 | - | ||
125 | + | ||
126 | + | ||
127 | + | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
137 | + | ||
138 | + | ||
139 | + | ||
140 | + | ||
141 | + | ||
142 | + | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + | ||
147 | + | ||
148 | + | ||
149 | + | ||
150 | + | ||
131 | 151 |
| |
132 | 152 |
| |
133 | - | ||
134 | - | ||
135 | - | ||
136 | - | ||
137 | - | ||
138 | - | ||
139 | - | ||
140 | - | ||
141 | - | ||
142 | - | ||
143 | - | ||
144 | - | ||
145 | - | ||
146 | - | ||
147 | - | ||
148 | - | ||
149 | - | ||
150 | 153 |
| |
151 | 154 |
| |
152 | 155 |
| |
|
0 commit comments