+ 6

Linked List remove.

I don't have much experience with Java and I am having trouble with removing first node of linked list in this code. I think line 22 has no effect. why is that? what can I do to fix that? Thanks in advance. https://code.sololearn.com/cFp5d0uc6Ubw/?ref=app

2nd Jun 2018, 3:23 PM
Tanay
Tanay - avatar
5 Respuestas
+ 15
Thank you for the invitation. I agree with 「HAPPY TO HELP」 Return is the only option in your code. If you do not want to return, then you have to modify the code like this: https://code.sololearn.com/c598YVmqpa0Z/?ref=app
3rd Jun 2018, 1:47 PM
LukArToDo
LukArToDo - avatar
+ 12
Tanay Thank you my friend for such a nice words. I looked at your codes and really am thrilled with them 👍 Please, just keep it going - I'll keep my eyes on your work 👀 and enjoy in your codes 😊
3rd Jun 2018, 5:03 PM
LukArToDo
LukArToDo - avatar
+ 5
Thank you LukArToDo for reply. It really helps me a lot to get to know java better and better. Your code always inspires me. Thank you both 「HAPPY TO HELP」 & LukArToDo.
3rd Jun 2018, 4:51 PM
Tanay
Tanay - avatar
+ 4
LukArToDo Hey, I have seen your lots of code of java and learned lot from it and I think you can help me out with this. please take a look at this when you have some free time.
2nd Jun 2018, 3:28 PM
Tanay
Tanay - avatar
+ 3
thank you so much.....「HAPPY TO HELP」 just curious to know... is there any way I can do it without retuning list?
2nd Jun 2018, 4:53 PM
Tanay
Tanay - avatar