Arista Networks Interview Question

Implement a stack using arrays.