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}}}$$

Most answered questions in Algorithms

0 votes
1 answer
1981
2 votes
1 answer
1982
Given "log n" sorted lists each of size "n/log n",what is the total time required to merge them into one single list.
0 votes
1 answer
1983
int Dosomething(int n){if(n>=2)return 1;elsereturn (floor(sqrt(n)))+n;}time complexity of the program?
0 votes
1 answer
1984
let n>=mint gcd(n,m){if(n%m==0)return ml;n=n%m;return gcd(m,n);}how many recursive calls are made by this function?
0 votes
1 answer
1986
0 votes
1 answer
1987
Find the average number of comparisons in a binary search on a sorted array of 10 consecutive integers starting from 1.1) 2.62)2.73)2.84)2.9
0 votes
1 answer
1989
What will be the time-complexity of the following ? for(i=1;i<=n;i=i*2) { for(j=0;j<i;j++) { count++; } }
0 votes
1 answer
1990
We've been given an unordered list having n distinct elements,the no. Of comparison to find an element that is neither the 2nd minimum nor the 2nd maximum is?
0 votes
1 answer
1991
1 votes
1 answer
1992
0 votes
1 answer
1994
2 votes
1 answer
1995
Which of the given options provides the increasing order of asymptotic complexity of functions $f1$, $f2$, $f3$ and $f4$? $f1(n) = 2^n \\ f2(n) = n^{(3/2)} \\ f3(n) = nl...
0 votes
1 answer
1996
what is the time complexity of the $pow(m,n)$ ?
0 votes
1 answer
1997
$T(n) = T(n-2) + 2logn, \text{ if } n>1 \\ =1, \text{ if } n=1$Find the Time Complexity.
0 votes
1 answer
1998
0 votes
1 answer
1999
let T be a minimum cost spanning tree of G. suppose that ewe decreased the weight of one of the edge in T.then to check modified T is MST or not how much tym will take???...
0 votes
1 answer
2000
Suppose that average edge weight for a graph G is Aavg. Then the minimum spanning tree of G will have weight at most(n-1) Aavg. Where n is number of vertices in graph G.i...