+ 1
Please help me to find out a bug
I'm trying to connect last node(Temp.next=head) with head. It doesn't work properly :) Note : Logic starts from 31 line here is my attempt https://code.sololearn.com/cDZ0um8P136z/?ref=app
2 Answers
+ 1
I solved it a long ago
0
https://code.sololearn.com/cPRW4ngI9zzJ/?ref=app
I'm not sure if this is what you want...