1. The document lists 28 experiments related to data structures and algorithms. The experiments include implementing functions for operations on stacks, queues, trees, graphs and algorithms like Dijkstra's algorithm, Prim's algorithm, Kruskal's algorithm, topological sorting, knapsack problems, job sequencing, graph coloring and the travelling salesperson problem.
2. The experiments are numbered and include a brief description of the problem to be solved as well as the data structures and algorithms required.
3. The index provides an overview of 28 experiments on fundamental data structures and algorithms.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
8 views
INDEX
1. The document lists 28 experiments related to data structures and algorithms. The experiments include implementing functions for operations on stacks, queues, trees, graphs and algorithms like Dijkstra's algorithm, Prim's algorithm, Kruskal's algorithm, topological sorting, knapsack problems, job sequencing, graph coloring and the travelling salesperson problem.
2. The experiments are numbered and include a brief description of the problem to be solved as well as the data structures and algorithms required.
3. The index provides an overview of 28 experiments on fundamental data structures and algorithms.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
INDEX
S. Page Date of Date of
Name of Experiment Remarks No. No. Experiment Submission 1. Implement a function to convert an infix arithmetic expression involving the operators +, -, /, *, (, ) and single digit constant integer operands to postfix expression. Assume usual precedence of operators in the order of /, *, + and -. Parentheses ( ) are used to override the precedence of operators 2. Implement a function to read an arithmetic expression (as given in the previous problem) from the command line and display the computed value of the expression. 3. Implement the (i) insertion sort, (ii) bubble sort, (iii) selection sort, (iv) shell sort, (v) quick sort, (vi) merge sort, (vii) heap sort, (viii) radix sort, (ix) counting sort, (x) bucket sort, (xi) radix exchange sort, and (xii) address calculation sort 4. Implement a circular queue using (a) an array (b) a linked list. 5. Implement a queue using two stacks by Methods-1 (making Push operation costly in terms of time) and by Method-2 (making Pop operation costly) 6. Implement a stack using two queues by Method 1 (making EnQueue operation costly) and by Method 2 (making DeQueue operation costly in terms of time). 7. Implement the preorder traversal algorithm for binary trees without using recursion. 8. Implement the functions createTree(), deleteTree(), insertItem(), deleteItem(), serachItem() for AVL trees, i.e. height balanced binary search trees. 9. Implement Dijkstra’s algorithm for the shortest path problem. 10. Implement Prim’s algorithm for the minimum spanning tree problem. 11. Implement Kruskal’s algorithm for the minimum spanning tree problem. 12. Implement DFS algorithms for graphs. Your function should be able to identify all the tree edges, back edges, forward edges and cross edges. 13. Write a function to identify the largest and smallest cycles in a given directed or undirected graph. 14. Implement Bellman Ford algorithm for the shortest path problem. 15. Implement dynamic programming algorithm of Floyd–Warshall algorithm for the shortest path problem. 16. Implement the 0/1 knapsack problem using the dynamic programming. 17. Implement the 0/1 knapsack problem using the backtracking method. 18. Implement the n-queens problem using the backtracking method. 19. Implement the 15-puzzle problem using the branch and bound method. 20. Implement the coin changing problem using the greedy method. 21. Write a function to implement the job sequencing with deadline problem in which each job has integer deadline and unit processing time. 22. . Implement the graph coloring problem using the backtracking method. 23. Write functions to identify all the strongly connected components, biconnected components, articulation points and bridges in a given directed graph. 24. Write a function to perform topological sort on a given directed graph. 25. Write a function to implement the travelling sales person problem. Prepare the table of running time for graphs containing 10, 20, 40, 60 and 100 nodes and draw graph problem-size versus execution time. 26. . Write a program for determining whether a graph with n vertices and e edges contains a clique of size m (m n). Check for what values of n, e, and m your program gives output in reasonable time. 27. Write a program for determining whether there exists a Hamiltonian cycle in a graph with n vertices and e edges. 28. Write a program for determining whether a graph with n vertices and e edges is a bipartite graph.
Python Advanced Programming: The Guide to Learn Python Programming. Reference with Exercises and Samples About Dynamical Programming, Multithreading, Multiprocessing, Debugging, Testing and More