Skip to content

Pranjallshinde/DSA_programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structure Lab Experiments

1) Name : Pranjal Shinde

2) Roll No : 56

3) Batch : C

Experiment List (Part A)

Question Number Program Link to Code
Q1 Write a C program to check if a given number is Fibonacci number. Link
Q2 Write a C program to generate Pascal Triangle using array. Link
Q3 Write a C program to roll_no, name , percentange of 5 students using array of structure and display the records in ascending order of roll list. Link
Q4 Write a C program to roll_no, name , percentange of 5 students using array of structure and display the records in descending order of percentange. Link
Q5 Write a C program to find largest element in an array Link
Q6 Write a menu driven program to perform the following operations in an ARRAY
1.INSERT
2.DELETE
3.TRAVERSE
4.SEARCH
Link
Q7 Define a structure data type called time_struct containing 3 members int hour, int minute and int second. Write functions that accept the structure to perform the following operations:
1. Input new time
2. Display the time
3. Update the time such that the function accepts the time_struct and increments the time by one second.If the increment results in 60 seconds, the then second member is set to 0 and the minute is incremented by 1. Then, if the result is 60 minutes, the minute member is set to 0 and the hour member is incremented by 1. Finally when the hour becomes 24, it is set to zero.
Link
Q8 Write a function that compares two arrays and returns 1 if they are identical and 0 otherwise. Link
Q9 write a c program to Duplicate element. Link
Q10 write a c program for unique element . Link

Experiment List (Part B)

Question Number Program Link to Code
Q11 Write a c program for array implementation of stack. Link
Q12 write a c program for array implementation of queue. Link
Q13 Array Implementation of Circular queue. Link
Q14 Array Implementation of Double Ended Circular queue. Link
Q15 write a c program to implement insert, delete, display, search in linked list. Link
Q16 write a c program Linked List Implementation of Stack Link
Q17 write a c program Linked List Implementation of Queue. Link
Q18 write a c Program for Expression Evaluation. Link
Q19 write a c Program to convert Infix to Postfix Expression. Link
Q20 Linked List Implementation of Priority Queue. Link
Q21 Program to implement Bubble or Selection Sort. Link
Q22 Program to implement Merge Sort. Link
Q23 Program to implement Insertion Sort . Link
Q24 Program to implement quick sort. Link
Q25 Implementation of Binary Search. Link
Q26 Implementation of operations =insertion,search,counting of nodes,counting of leaf,etc. Link
Q27 Array Implementation of Graph with BFS traversal. Link
Q28 Array Implementation of Graph with DFS traversal. Link 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages