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

Recent questions in Algorithms

14 votes
5 answers
4141
1 votes
1 answer
4142
Assuming n>2 A() { while(n>1) { n = n/2; } }
2 votes
2 answers
4143
arrange the following in the increasing order of their asymptotic complexity in big theta notation$2^{2^{n}}, \log n ^{\log n} , (\frac{3}{2})^{n}, 2^{n}, \log n!$
0 votes
1 answer
4145
A(n) { if(n>=1) { A(n-1); // statement 1 print n; //statement 2 A(n-1);// statement 3 } }
0 votes
3 answers
4146
Describe a Θ(nlgn)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exists two elements of S whose sum is exactly ...
0 votes
1 answer
4147
Suppose we are comparing implementations of insetion sort and merge sort on the same machine. For inputs of size n, insertion sort runs in 8n^2 steps, while merge sort ru...
10 votes
2 answers
4148
A machine needs a minimum of $100$ sec to sort $1000$ names by quick sort. The minimum time needed to sort $100$ names will be approximately$50.2$ sec$6.7$ sec$72.7$ sec$...
1 votes
3 answers
4149
which of the following is correct?
1 votes
1 answer
4150
How n + n/2 + n/4 + .... 1 can approximate it as an infinite GP?Is it =1+2+4+8+..........n/4 + n/2 +n ?=O(2^n) ?
0 votes
1 answer
4151
Is it loglog(2^2^2^2)=4Let n=(2^(2^(2^2)))=2^16Loglogn=4T(n)=1+T(2^8)=2+T(2^4)=3+T(2^2)=4+T(2)=5Let n= (2^(2^(2^(2^(2^2)))))=2^(2^65536)Loglog n = 65536
1 votes
2 answers
4152
time complexity questionSum=0 for(i=1; i<=n;i++) { for(j=1;j<=i;j++) { if(j%i==0) { for(k=1;k<=n;k++) { sum=sum+k; } } } }
1 votes
1 answer
4154
0 votes
2 answers
4156
11 votes
3 answers
4157
1 votes
1 answer
4158
what approch does the greedy method followsa)Top down b)Bottom upI heard the answer as Top down why it is? can any one explain me please
0 votes
1 answer
4160
T(n+1)=T(n)+ceil[√(n+1)] , n>1 =1,n=1