// Dr. A.P.J. Abdul Kalam Technical University, Uttar Pradesh / 2026
AKTU B.Tech — Design And Analysis Of Algorithms (BCS503), Semester 4, 2026
Design And Analysis Of Algorithms · BCS503 · B.Tech Computer Science and Engineering · Semester 4
Work through the questions
22 questions
No verified answers are available for this paper.
- 2026
- 2023
Also asked in AKTU B.Tech IT — Basic Data Structure & Algorithms (KOE035), Semester 3, 2023 (2023).
Define algorithm and its characteristics.
No verified answer or solution is available for this question.
Compute the time complexity of the following recurrence relation. T(n) = sqrt(n) T(sqrt(n)) + n if n>2; = 2 if n=2
No verified answer or solution is available for this question.
Find the total number of comparisons using the Insertion sort on the following array. Array A = {23, 32, 40, 44, 54, 63, 72, 89}.
No verified answer or solution is available for this question.
What is a Persistent Data Structure?
No verified answer or solution is available for this question.
Define growth of functions.
No verified answer or solution is available for this question.
In a Red-Black Tree, how many black nodes are there on any path from the root to the leaf if the black height is 3?
No verified answer or solution is available for this question.
Define Polynomial-time Verifiability.
No verified answer or solution is available for this question.
Compute the time complexity of the following recurrence relation. T(n) = 2T(n-1) + n if n>1; = 1 if n=1
No verified answer or solution is available for this question.
Let P be a Quick Sort Program to sort numbers in ascending order using the first element as pivot. Let t1 and t2 be the number of comparisons made by P for the inputs {1, 2, 3, 4, 5} and {4, 1, 5, 3, 2} respectively. Find the number of t1 and t2.
No verified answer or solution is available for this question.
Provides the decreasing order of asymptotic complexity of functions f1, f2, and f3? Justify your answer. f1(n) = n^(k log n), f2(n) = n^1000, and f3(n) = k^(n log k). Here, k is a very large constant.
No verified answer or solution is available for this question.
Explain Merge Sort with example and also compute time complexity.
No verified answer or solution is available for this question.
Explain Fibonacci Heap with suitable example.
No verified answer or solution is available for this question.
Consider a complete undirected graph with vertex set {0,1,2,3,4}. W_ij in the matrix W below is the weight of the edge {i,j}: W = [[0,1,8,1,4],[1,0,12,4,9],[8,12,0,7,3],[1,4,7,0,2],[4,9,3,2,0]]. What is the minimum possible weight of a spanning tree T in this graph such that vertex 0 is a leaf node in the tree T?
No verified answer or solution is available for this question.
Consider a matrix multiplication chain F1F2F3F4F5, where matrices F1, F2, F3, F4, and F5 are of dimensions 2x25, 25x3, 3x16, 16x1 and 1x1000, respectively. Find the optimal parenthesis and total number of scalar multiplications.
No verified answer or solution is available for this question.
In a Skip List, if the probability of a node being promoted to the next level is 1/2, what is the expected number of nodes at the second level if there are 100 nodes at the base level?
No verified answer or solution is available for this question.
Explain Kruskal's algorithm for MST and also discuss the time complexity.
No verified answer or solution is available for this question.
Solve a 0/1 Knapsack problem with given profits [60, 100, 120, 90, 75, 45], weights [5, 10, 15, 20, 35, 40] and capacity = 50 using Dynamic Programming.
No verified answer or solution is available for this question.
Explain Dijkstra's Algorithm. Prove that it may fail if the graph contains negative edge weights.
No verified answer or solution is available for this question.
Explain the Branch and Bound approach for the Travelling Salesman Problem (TSP) using the "Reduced Cost Matrix" method.
No verified answer or solution is available for this question.
Given a 3 X 3 cost matrix, calculate the initial "Lower Bound" using the row-reduction method.
No verified answer or solution is available for this question.
Using Rabin-Karp algorithm, how many hash computations are needed to search for a pattern of length 4 in a text of length 15?
No verified answer or solution is available for this question.
Describe the Boyer-Moore string matching algorithm. How do the "bad character" and "good suffix" heuristics work?
No verified answer or solution is available for this question.