still i cant do it
Type: Posts; User: mmooo
still i cant do it
i tried this
public static list ( list L1 , list L2 ){
list L = new list ();
listNode temp1=L1.first;
listNode temp2 = L2.first ;
listNode temp3 = L.first ;
while ( temp1 !=null){
temp3=...
Write a Java function Sum2List that takes two lists L1 and L2 of the same size and returns list L that contains the sum of data inside the corresponding nodes of lists L1 and L2.