Write a program that uses functions to perform the following operations on singly linkedlist: i) Creation ii) Insertion iii) Deletion iv) Traversal.
View Solution βData Structures Lab Programs
This tutorial provides Lab Programs on various topics of Data Structures using C Programming. It includes Linked Lists, Stacks, Queues, Sorting, Trees, Graph Traversal and Hashing.
Linked Lists
Write a program that uses functions to perform the following operations on doubly linkedlist: i) Creation ii) Insertion iii) Deletion iv) Traversal.
View Solution βWrite a program that uses functions to perform the following operations on circular linkedlist: i) Creation ii) Insertion iii) Deletion iv) Traversal.
View Solution βStacks and Queues
Write a program that implement Stack (its operations) using Array.
View Solution βWrite a program that implement Stack (its operations) using Linked List (Pointer).
View Solution βWrite a program that implement Queue (its operations) using Array.
View Solution βWrite a program that implement Queue (its operations) using Linked List (Pointer).
View Solution βSorting
Write a program that implements Radix sorting methods to sort a given list of integers in ascending order.
View Solution βWrite a program that implements Heap sorting methods to sort a given list of integers in ascending order.
View Solution βWrite a program that implements Shell sorting methods to sort a given list of integers in ascending order.
View Solution βWrite a program that implements Tree sorting methods to sort a given list of integers in ascending order.
View Solution βTrees
Write a program to implement the tree traversal methods using Recursive.
View Solution βWrite a program to implement the tree traversal methods using Non Recursive.
View Solution βWrite a program to implement Binary Search Tree (its operations).
View Solution βWrite a program to implement AVL Tree (its operations).
View Solution βWrite a program to implement Red - Black Tree (its operations).
View Solution βGraph Traversal
Write a program to implement the graph traversal methods (Breadth First Search).
View Solution βWrite a program to implement the graph traversal methods (Depth First Search).
View Solution βHashing
Write a program to implement the following Hash Functions: i) Division Method ii) Multiplication Method iii) Mid-square Method iv) Folding Method.
View Solution β