Domanda di colloquio di Arista Networks

Implement a stack library for a program, where each data type has a diff stack.

Risposta di colloquio

Anonimo

25 mag 2012

bascially, u need to have an API which creates a stack object. The user will especify the data type he will push on that stack. When he wants to push an element, he also passes the stack pointer he created