0% found this document useful (0 votes)
4 views

Data Structures and Algorithms

Uploaded by

ANKUSH
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Data Structures and Algorithms

Uploaded by

ANKUSH
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Data Structures and Algorithms

(EEITC302)
Department of Information Technology

Submitted by:-
Name : Ankush
Roll no. : 2023UEE4597
Data Structures and Algorithms
(EEITC302)
Department of Information Technology

Submitted by:-
Name : Pawan Kumar
Roll no. : 2023UEE4622
Data Structures and Algorithms
(EEITC302)
Department of Information Technology

Submitted by:-
Name : Siddharth
Roll no. : 2023UEE4627
Data Structures and Algorithms
(EEITC302)
Department of Information Technology

Submitted by:-
Name : Gitank Rana
Roll no. : 2023UEE4628
Data Structures and Algorithms
(EEITC302)
Department of Information Technology

Submitted by:-
Name : Kartik Dixit
Roll no. : 2023UEE4632
Data Structures and Algorithms
(EEITC302)
Department of Information Technology

Submitted by:-
Name : Saksham Rawat
Roll no. : 2023UEE4633
Practical 1
Q. Write a Program to implement two stacks in an array:
A. Code:

Output:
Practical 2
Q. Write a program to implement a queue using an array:
A. Code:

Output:
Practical 3
Q. Write a program to convert an infix expression to post fix and
evaluate the post fix expression using stack.
A. Code:

Output:
Practical 4
Q. Write a program to implement queue using array.
A. Code:

Output:
Practical 5
Q. Write a program to implement stack using Linked List.
A. Code:

Output:
Practical 6
Q. Write a program to implement priority queue using linked list.
A. Code:

Output:
Practical 7
Q.Write a Program to display a singly linked list in reverse order.
A. Code:

Output:
Practical 8
Q. Write a Program to remove duplicates from a linked list.
A. Code:

Output:
Practical 9
Q. Write a program to convert a binary tree into doubly linked list.
A. Code:

Output:
Practical 10:
Q. Write a Program to check whether the given BST is balanced or not:
A. Code:

Output:
Practical 11
Q. Write a program to traverse a directed graph using DFS.
A. Code:

Output:
Practical 12
Q. Write a program for quick sort.
A. Code:

Output:

You might also like