摘要: class StackLInkedList{ constructor(){ this.items = new DoublyLinkedList();//https://www.cnblogs.com/MySweetheart/p/13212702.html } push(element){ this 阅读全文
posted @ 2020-07-01 09:20 放学别跑啊 阅读(137) 评论(0) 推荐(0) 编辑
摘要: const Compare = { LESS_THAN:-1, BIGGER_THAN:1 }; function defaultCompare(a,b){ if(a b){ return 0; } return a < b?Compare.LESS_THAN : Compare.BIGGER_TH 阅读全文
posted @ 2020-07-01 08:16 放学别跑啊 阅读(187) 评论(0) 推荐(0) 编辑