31
1 / public int function(int data
21 [
Node temp = head;
41
int var = 0;
51 while(temp != null)
61
[
T
if(temp.getData() == data)
1
{
return var;
}
var = var+1;
temp = temp.getNext();
Answers
Answered by
0
Answer:
physic that is the wrong number
Similar questions