+ 3

Delete node from linked list

Hi what is change in below code to have delete node working fine... I know I am deleting node and it's next node is also getting deleted due to linking...but what is solution is making me confused https://code.sololearn.com/cPmQ80J5eLLZ/?ref=app

10th Oct 2019, 3:06 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 Antworten
+ 4
https://www.sololearn.com/learn/645/?ref=app
10th Oct 2019, 6:03 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 3
✳AsterisK✳ I know this.. people have already mentioned in comment that there is some issue in the shared code.
10th Oct 2019, 10:28 AM
Ketan Lalcheta
Ketan Lalcheta - avatar