MCPcopy Create free account
hub / github.com/betomoedano/JavaScript-Coding-Interview-Questions /

Class

stacks/triple-stack.js:14–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 * Additional space: push O(1), pop O(1), peek O(1)
13 */
14export class TripleStack {
15 constructor() {
16 this._array = [];
17 this._lengths = [0, 0, 0];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected