Web Page

Searching, Sorting, Hashing, Asymptotic worst case time and Space complexity, Algorithm design techniques: Greedy, Dynamic programming, and Divide‐and‐conquer, Graph search, Minimum spanning trees, Shortest paths.

$$\scriptsize{\overset{{\large{\textbf{Mark Distribution in Previous GATE}}}}{\begin{array}{|c|c|c|c|c|c|c|c|}\hline
\textbf{Year}& \textbf{2022} & \textbf{2021-1}&\textbf{2021-2}&\textbf{2020}&\textbf{2019}&\textbf{2018}&\textbf{2017-1}&\textbf{2017-2}&\textbf{2016-1}&\textbf{2016-2}&\textbf{Minimum}&\textbf{Average}&\textbf{Maximum}
\\\hline\textbf{1 Mark Count} & 2 &3&2&3&2&0&2&2&3&3&0&2.2&3
\\\hline\textbf{2 Marks Count} & 2 &3&4&4&2&4&2&3&2&3&2&2.9&4
\\\hline\textbf{Total Marks} & 6 &9&10&11&6&8&6&8&7&9&\bf{6}&\bf{8}&\bf{11}\\\hline
\end{array}}}$$

Hot questions in Algorithms

11 votes
1 answer
2301
Match the pairs in the following questions:$$\begin{array}{|ll|ll|}\hline (a) & \text{Strassen's matrix multiplication algorithm} & (p) & \text{Greedy method} \\\hline (...
0 votes
0 answers
2302
Is there any other way to know how many swaps will be required in any sorting algorithm (like quick merge) other than following the normal method( because it take lot of ...
0 votes
3 answers
2303
$100n\log n = O(n\log n)$How they are equal?
0 votes
0 answers
2304
0 votes
0 answers
2305
https://gateoverflow.in/222060/algo-self-doubt
0 votes
0 answers
2306
What is the time complexity of the following piece of code in the terms of n?$Main()${$n=2^{2^k};$$for(i=1; i<=n; i++)${ $j=2;$ $while(j<=n)$ { $j=j^2;$ }}...
2 votes
2 answers
2308
Which one of the following is a topological sort for the above graph?$1, 6, 2, 5, 3, 4$$4, 5, 6, 3, 2, 1$$2, 4, 5, 6, 3, 1$$6, 4, 5, 2, 1, 3$
2 votes
1 answer
2309
0 votes
0 answers
2310
0 votes
1 answer
2311
0 votes
0 answers
2312
0 votes
1 answer
2313
what is the recurrence relation for binary search and linear search?please explain how to derive them.
2 votes
1 answer
2314
3 votes
0 answers
2315
In a min-heap with $n$ elements with the smallest element at the root, the $7^{th}$ smallest element can be found in time$\Theta (n \log n)$$\Theta (n)$$\Theta(\log n)$$\...
1 votes
2 answers
2316
What is the worst case complexity for searching for a key in a sorted array using Binary Search??
0 votes
0 answers
2317
Argue that for any constant 0<α≤1/2, the probability is approximately 1−2α that on a random input array, PARTITION produces a split more balanced than 1−α to α....
0 votes
0 answers
2318
https://gateoverflow.in/549/gate1992-01-ixIn this question why union find algo is used so the tym complexity became O(ElogN) ......E is no. of edges N is no. of verticesI...
0 votes
0 answers
2320