## Trees

Tree is a non linear data structure. Why non linear data structure? The fundamental disadvantage of a linear data structure… Read More »Trees

Tree is a non linear data structure. Why non linear data structure? The fundamental disadvantage of a linear data structure… Read More »Trees

Below is the code to implement queues using single linked lists Output: 1.Insert an element2.Removal of an element3.Peek value4.Display queue… Read More »Implementation of queues using linked lists

Queue is a Linear Data Structure in which the insertion is performed at the end called rear of the queue… Read More »Implementing queue data structure using arrays

C program to reverse the elements of stack using two stacks Output:1.Push2.Print3.Reverse4.Pop5.QuitEnter your choice:1Element to be added:351.Push2.Print3.Reverse4.Pop5.QuitEnter your choice:1Element to… Read More »Program to reverse the elements of stack using two stacks

C program to convert Decimal to Binary using stacks Output: Enter a decimal number:5Binary number: 101

C program to print all the prime factors of a number in descending order using stack Output: Enter a number:100Prime… Read More »Program to print all prime factors of a number in descending order using stack

Below is the code to create a polynomial using linked lists. OUTPUT: Enter PolynomialEnter no.of terms:3Enter coeffecient for 1:6Enter exponent… Read More »Creating a polynomial using linked lists

Below is the code to perform operations on stack using arrays. OUTPUT: 1.Insert element2.Delete element3.Top value4.Display elements5.ExitEnter your choice:1 Enter… Read More »Operations on stack using arrays in C

Below is the code to search an element in a circular singly linked list OUTPUT: 20 15 75 60 45Element… Read More »Searching an element in a circular singly linked list

Below is the code to count the elements present in a circular singly linked list. OUTPUT: 20 15 75 60… Read More »Counting the elements in a circular singly linked list