单链表和双向链表java实现

单链表 class Node{ public Node(int i){ this.value = i; } int value; Node next; } public void insert(Node node){ Node p; p = head; if (p == null){ node.next
相关文章
相关标签/搜索