Hello friends,

I have have found lots of ways to implement a stack using different data structures. But i want to what us the best way (best means code understandability , performance) to implement a stack!!

Share ur thought so i can reach to any final answer.

Different ways ->1. using Link-list

->2. using Array

->3. using pointers.

Also if u know any other method then plz share.

Thanks