+ 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

15th Sep 2022, 8:10 AM
Davinder Kumar
Davinder Kumar - avatar
2 odpowiedzi
+ 1
I solved it a long ago
25th Sep 2022, 2:53 PM
Davinder Kumar
Davinder Kumar - avatar
0
https://code.sololearn.com/cPRW4ngI9zzJ/?ref=app I'm not sure if this is what you want...
25th Sep 2022, 10:36 AM
Tomás Ribeiro
Tomás Ribeiro - avatar