Domanda di colloquio di NVIDIA

Implement Stack using array Round 4 Q2

Risposta di colloquio

Anonimo

7 dic 2024

Discussed two approaches, 1. Divide stack in two equal parts, how push and pop will happen, limitation of this method 2. Using two pointer method stacks growing from front as well as end, discussed on condition on stack full and stack empty