Java實現單鏈表數據結構的增刪改查

package 鏈表; /** * *1)單鏈表的插入、刪除、查找操做; * 2)鏈表中存儲的是int類型的數據; **/ public class SinglyLinkedList { private Node head = null; //查找操做 public Node findByValue(int value){ Node p = he
相關文章
相關標籤/搜索