摘要:
单向链表的优势:在同一个位置插入或者删除多次,时间复杂度为 O(1) // 生成一个单向链表 // 辅助类,用来生成结点 let Node = function(element){ this.element = element; this.next = null; } // 链表(查询,添加,插入, 阅读全文
posted @ 2020-10-26 23:01
Isabel丶
阅读(140)
评论(0)
推荐(0)
浙公网安备 33010602011771号