Arista Networks interview question

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

Interview Answer

Anonymous

25 May 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