CtCI-6th-Edition-JavaScript
CtCI-6th-Edition-JavaScript copied to clipboard
Updated Stack of plates logic in chapter 3
Changes made
- Used array.prototype.at for fetching recent stack
- Handled special case where a certain stack in stack set becomes empty when popAt is used