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

Highest voted questions in Algorithms

1 votes
1 answer
1922
N=2^2^k; where k>0;For(i=1;i<n;i++){J=2;While (j<=n){J=j^2;}}What is the time complexity
1 votes
1 answer
1923
1 votes
1 answer
1924
What could be the best algorithm from the following when the time complexity is measured based bon the number of swaps performed by the sorting algorithm?1. Selection sor...
1 votes
0 answers
1926
H(n) = H(2/3(n-1)) + 1 H(1) = 0 solve this recurrence relation
1 votes
0 answers
1927
Explain longest comman sbsequence , how to direct solve the lcs problems????
1 votes
1 answer
1929
is the time complexity for this fuction is O(n)?
1 votes
1 answer
1931
Which of the following algorithm gives best performance when items are in reverse order ?a) Merge sort.b) Heap sort.
1 votes
0 answers
1932
https://gateoverflow.in/1076/gate2004-82?show=141252#c141252Can somenone please explain this questionI really dont understand the difference made by the statement "counte...
1 votes
1 answer
1934
1 votes
1 answer
1935
1 votes
1 answer
1936
In the following C function, let n >= m.int gcd(n,m) { if (n%m ==0) return m; n = n%m; return gcd(m,n); }How many recursive calls are made by this function? (A) (logn)?(B...
1 votes
1 answer
1937
Q. In Quick sort ,for sorting n element ,the (n/4)th smallest element is selected as pivot using an O(n) time algorithm. What is the worst case tome complexity of the Qu...
1 votes
0 answers
1938
Time complexity of inplace merge sort??
1 votes
1 answer
1939
Q. The running time of an algorithm is given byT(n)=T(n-1)+T(n-2)-T(n-3) if n>3else NThe order isa. n. b. Log nC.n^n. d.n^2
1 votes
1 answer
1940
If T(n) = T(n/4) + T(n/2) +n2 , then using recursion tree method