Pregunta de entrevista de Arista Networks

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

Respuesta de la entrevista

Anónimo

25 de may de 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