Skip to content

This repository contains all the programs of DSA assignment(3rd Sem) and DAA(4thSem) provided by NSEC.

Notifications You must be signed in to change notification settings

AnkitaSikdar005/DSA_3rdSem_DAA_4thSemC_language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSA_3rdSEM_CLanguage✨

This repository consist of the programs in C language for DSA(Practical Assignment)💻

DSA Assignment Questions are as follows:

  1. Write a program to implement Matrix multiplication.
  2. Write a program to implement Tower Of Hanoi problem.
  3. Write a program to implement Matrix multiplication.
  4. Write a program to implement Tower Of Hanoi problem.
  5. Write a program of implementation of the following functions in an array:
  • Insert an element into a specific position.
  • Delete an element from a specific position.
  1. Write a program to implement a STACK using Array:
  2. Write a program to implement a LINEAR QUEUE using Array:
  3. Write a program to implement a CIRCULAR QUEUE using Array:
  4. WAP to convert a expression to its postfix equivalent using stack
  5. Write program to evaluate an user given Postfix expression.
  6. Write a program to sort an array using Insertion sort
  7. Write a program to sort an array using Bubble sort.
  8. Write a program to sort an array using Selection sort
  9. Write a program to search an element using Interpolation Search algorithm
  10. Write a program to search an element using Binary Search algorithm
  11. Write a program to search an element using Linear Search algorithm.
  12. Write a program to display FIBONACCI series and FACTORIAL of a number using recursion.
  13. Write a program to sort n numbers using function by the Quick Sort methods.
  14. WAP to implement linear queue using array and linked list.
  15. WAP to implement circular queue using array and linked list.
  16. WAP to declare a priority queue using two-dimensional array, store elements and priority. Display the elements according to priority from higher to lower.
  17. Write a menu driven program to implement a singly linked list.
  18. Write a menu driven program to implement a doubly linked list.
  19. WAP to count the no. of leaf nodes in a binary tree.
  20. WAP to implement a binary search tree:
  21. WAP to input a graph G = (V, E) as an adjacency matrix. Include functions to
    Test if G is complete. Obtain the degree of a node u, if G is undirected, and indegree and outdegree of node u if G is directed.
  22. WAP to input a graph G = (V, E) as an adjacency list. Include two functions BFT and DFT to undertake breadth first traversal and depth first traversal of the graph.
  23. Write a programme to solve N-Queen problem.
  24. WAP to store k keys into an array of size n at the location computed using a hash function, loc = key % n, where k<=n and k takes values from [1 to m], m>n. To handle the collisions use the following collision resolution techniques,
  • Linear probing
  • Quadratic probing
  • Double hashing/rehashing
  • Chaining
  1. Implement the above program no. 29using hash function Division methods.
  2. Implement the above program no. 29 using hash function folding methods.

About

This repository contains all the programs of DSA assignment(3rd Sem) and DAA(4thSem) provided by NSEC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages