摘要:
public class SingleLinearList {class Node { Node next; int value; }Node first = null;Node now;Node newNode;Node temp; static int count=0;public void add(int value) { newNode = new Node();if (first == null) { first = newNode; } else{ now = first; while (now.next != null) {now = now.next; } now.next=n 阅读全文