stack data structure

Difference between stack and queue

this will help you

You can also google it and learn from geeksforgeeks also.

Please use Google search, or be more specific.

//