AR Shahin

How to implement Queue using Link List?

Hello Programmer, How are you doing? In this tutorial I will show you how to implement Queue using Link list. Prerequisite : You have to know What is the link list ? How It works? And algorithm of Queue. Well, I assume you are familiar of those prerequisites. Implement Queue using Array Well,Implement the Queue …

How to implement Queue using Link List? Read More »

How to implement Stack using Link List?

Hello Programmer, Are you afraid for link list ? In this tutorial I’ll show how to implement Stack using link list. A linked list is a linear collection of data elements whose order is not given by their physical placement in memory. I assume you know Stack’s algorithm.(Which I have told in my previous content [stack]) Well,Implement the Stack …

How to implement Stack using Link List? Read More »

What is queue in data structure?

A Queue is a linear structure which follows a particular order in which the operations are performed. The order is First In First Out (FIFO). A good example of a queue is any queue of consumers for a resource where the consumer that came first is served first. The difference between stacks and queues is in removing. …

What is queue in data structure? Read More »

What is Stack in Data Structure?

Stack is a linear data structure which follows a particular order in which the operations are performed. The order may be LIFO(Last In First Out) or FILO(First In Last Out), for example – a deck of cards or a pile of plates, etc. A real-world stack allows operations at one end only. This feature makes it LIFO data structure. LIFO stands for …

What is Stack in Data Structure? Read More »