algoClass
algoClass copied to clipboard
typo
https://github.com/kuychaco/algoClass/blob/58517aad9a51cfe8fcb007467cadc9244a9e73c9/data-structures/queue.js#L153
Queue_TwoStack should receive capacity argument and pass to new Stack, like below.
function Queue_TwoStack (capacity) { this._stackIn = new Stack(capacity); this._stackOut = new Stack(capacity); }
the file structure has been changed. Can you update the issue?