Stacks and Queues
Stacks
- Stacks : it is a data structure that contains nodes connected together. and each node reference to next node. will stored vertically.
- first node in stack called top.
- FILO : first node in will be last node out.
- push : will add a node to the first.
- pop : remove node from the top.
- peek : to see the value of top node.

Queue
- Queue : it is a data structure that contains nodes connected together. and each node reference to next node.will stored horizontally.
- first node in stack called front.
- rear : represents the last node.
- FIFO : first node in will be first node out.
- Enqueue : will add a node to the front.
- Dequeue : remove node from the rear or last.
- peek : to see the value of front node.

A role can have many permissions.
A permission can be assigned to many roles.
so the thing is what you abeal to do and achive to undersatnd your coworker team