數據結構---鏈表小案例

鏈表的一些小案例 /** * 構造函數 表示鏈表的一個節點 * */ function Node(value){ this.value = value; //節點的數據 this.next = null; //下一個節點的地址 } var a = new Node('a') var b = new Node('b') var c = new Node('c') a.next =
相關文章
相關標籤/搜索