Maddy
Results
1
comments of
Maddy
// if push item is a Array class MinStack { constructor() { this.min = null; this.stack = []; } push(item) { if (Array.isArray(item)) { this.stack.push(...item.flat(Infinity)); this.min === null ? this.min...