Arista Networks Interview Question

Implement a stack then discuss pro and cons of your design.