Queue in c

Queue in c  is a simple c program to implement queue data structure. In this tutorial, we will see the implementation of queue in c. The queue is a linear type of data structure. It is an unordered group of the element in which elements is added at one end (rear end) and removed from …

Queue in c Read More »

Stack

Stack is linear type of Data Structure. Stack works on a FIRST IN LAST OUT  or LAST IN FIRST OUT fashion. Lets see example stack meaning Stack Example Consider an container or CD’S that is we put CD’S on one another and if we want to take CD’S out then we have to remove the CD which is at the …

Stack Read More »

Linked List

Linked list is a linear type of data structure. It is a set of data which has data along with the address stored in it. Linked list store the data and address in a node. Node:- Node is a combination of data and the next (address of next node). Linked list is a collection of node …

Linked List Read More »

Quick sort

In this tutorial, we will see another sorting technique which is Quick sort and Quick Sort Program in C. Quick sort: Quick sort is the fastest internal sorting algorithm without any additional memory for sorting data. In quick sort, first, we choose the key element in the list which is called Pivot element. Then we reorder the list with the rule …

Quick sort Read More »

Heap Sort

heap sort in data structure It is a much more efficient version of selection sort it also works by determining the largest element of the list, placing that at the end (or beginning) of the list then continuing with the rest of all list, by accomplishes this task efficiently by using a data structure called HEAP. This …

Heap Sort Read More »