This repository will be regularly updated of the programs related to the efficiency of different agorithms and also that of data structure.
Lab1:(Using command line arguments)
- Binary Search
- Linear Search
- Bubble Sort
- Insertion Sort
- Selection Sort
Lab2:
- Sorting programs
- Square Matrix multiplication
- Sorting n/2 numbers in ascending order and rest in descending order.
- XOR the array with an element then sort it.
Lab3:
- Basic Linear Queue operations
- Basic Stack operations
- Basic Linked List Operations
- Finding middle element of a linked list
- Reversing a linked list
- Counting number of duplicates in a linked list
Lab4: (Recursive Programs)
- Binary Search
- Factorial of a number
- GCD of two numbers
- Fibonacci Series
- Priting linked list in reverse
- Sum of digits of a number
Lab5:
- Heap
- Quick Sort
- Randomized Quick Sort
Lab6:
- Longest common Subsequence
- Matrix-Chain Multiplication
Lab7:
- Activity Selection Program
- Disjoint Sets Implementation