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

0 votes
1 answer
2221
2 votes
1 answer
2223
Use the recursion tree to determine a good asymptotic upper bound on the recurrence T(n)=T(n-1)+T($\frac{n}{2}$)+n. Use substitution method to verify the answer.
2 votes
1 answer
2224
0 votes
1 answer
2225
int Dosomething(int n){if(n>=2)return 1;elsereturn (floor(sqrt(n)))+n;}time complexity of the program?
2 votes
3 answers
2226
For(I=1 ; I<=n ; I++) { For(J=1 ; J<=I ; J++) { For(K=1 ; K<=n^5 ; K=15 × K) { x=y+z; } } }What is the time complexity of above code ?
0 votes
1 answer
2228
15.4-1 is it right ???ans is 6 ??is there any other method to determine the lcs coz it requires time to compute till the whole traversal of matrix
0 votes
2 answers
2229
0 votes
2 answers
2230
In GATE 1987 question, order of $\Sigma$$O(n)$ was found to be $O(n^2)$.Similarly, what will be the answer for order of $\Sigma$$O(n^2)$ ? Will it be of $O(n^3)$ ?Thanks...
3 votes
0 answers
2231
I have doubt regarding Master theorem.In which situation we should use Normal Master theorem/extended Master theorem?
1 votes
1 answer
2232
0 votes
1 answer
2233
Assume that merge sort algorithm in the worst case takes 30 seconds for an input of size 64 which of The following most closely approximates the maximum input size of a p...
0 votes
1 answer
2234
0 votes
1 answer
2236
Q- consider an array A of size K where each element is either 10 or 20 what is the minimum time required to sort an array A??????
1 votes
2 answers
2238
What will be the solution of the following recurrence?$$T(n)=3T\sqrt{n}+\log(n)$$
3 votes
0 answers
2239
Which of the following cannot be the intermediate sequence if we apply quick sort on 9,8,7,6,5,4,3,2,1?Assume the pivot is always the first elementA) 1,8,7,6,5,4,3,2,9B) ...
0 votes
0 answers
2240
<p><a href="https://gateoverflow.in/224778/searching">https://gateoverflow.in/224778/searching</a></p <p>what is actual answer becz using two pointers at extremes we are ...