摘要:
class StackLInkedList{ constructor(){ this.items = new DoublyLinkedList();//https://www.cnblogs.com/MySweetheart/p/13212702.html } push(element){ this 阅读全文
摘要:
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 阅读全文