KPIT Technologies interview question

They asked to implementation of stack and queue