+ 4

Error coming while inserting in link list

https://code.sololearn.com/cGvUG2BMW72m/?ref=app

7th Dec 2017, 7:40 AM
कामेश
कामेश - avatar
2 odpowiedzi
0
I am not completely sure about the purpose of this statement(I have no experience using lambdas in java), but syntax using -> operator should be like this " n1->{next=n;} " or " n1->next=n ".
7th Dec 2017, 12:05 PM
Dima Makieiev
Dima Makieiev - avatar
0
yeeee
23rd Jun 2018, 1:51 AM
Cameron