Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by gmrishikumar
2
votes
1
answer
1
Difference between DAG and Multi-stage graph
I have trouble understanding the difference between DAG and Multi-stage graph. I know what each of them is But I think that a multi-stage graph is also a DAG. Are multi-stage graphs a special kind of DAG?
I have trouble understanding the difference between DAG and Multi-stage graph. I know what each of them isBut I think that a multi-stage graph is also a DAG. Are multi-st...
861
views
asked
Apr 28, 2019
Graph Theory
graph-theory
graph-algorithms
graph-connectivity
multi-stage-graph
directed-acyclic-graph
+
–
0
votes
0
answers
2
Practicing Algorithms and Data Structures for Interview
I have got a good GATE rank in 2019 and most probably I will get into IIT-B TA. I am thinking of working on algorithms and data structures before I join. I have gone through a lot of content regarding ... someone provide some pointers or any resources that help me improve my skills for competitive coding or interview preparation in general?
I have got a good GATE rank in 2019 and most probably I will get into IIT-B TA.I am thinking of working on algorithms and data structures before I join. I have gone throu...
727
views
asked
Apr 20, 2019
DS
data-structures
interview
algorithms
competitive-coding
+
–
0
votes
1
answer
3
Courses in IISc and IIT-B
I have got rank 56 in GATE CS 2019. I have some doubts regarding admissions and college. Some of these questions may be trivial but please bear with me. I wish to work on ML for Masters. I am considering only IISc Bangalore and IIT-B for ... any other post-graduate degree I should know about while applying at the universities? And how does one apply for admission at IIT-B?
I have got rank 56 in GATE CS 2019. I have some doubts regarding admissions and college. Some of these questions may be trivial but please bear with me.I wish to work on ...
1.2k
views
asked
Mar 19, 2019
IISc/IITs
admissions
+
–
0
votes
1
answer
4
Direct Admission GATE 2019, Marks - 77
I have scored 77.67 in GATE 2019. The rank predictor predicts my rank around 48 - 51. How accurate is the rank predictor? And if the predicted rank is accurate, then from which IITs/IISc can I expect offers for direct admission?
I have scored 77.67 in GATE 2019. The rank predictor predicts my rank around 48 - 51.How accurate is the rank predictor?And if the predicted rank is accurate, then from w...
1.8k
views
asked
Feb 15, 2019
IISc/IITs
admissions
iisc
mtech
+
–
0
votes
2
answers
5
A Different Kind of Question on Longest Common Subsequence
Consider two strings A = "anandarmy" and B = "algorithms". Let ‘y’ be the length of the longest common subsequence (not necessarily contiguous) between A and B and let ‘x’ be the number of such longest common subsequences between A and B. Then 2x+3y = _________.
Consider two strings A = "anandarmy" and B = "algorithms". Let ‘y’ be the length of the longest common subsequence (not necessarily contiguous) between A and B and le...
2.4k
views
asked
Jan 22, 2019
Algorithms
algorithms
longest-common-subsequence
dynamic-programming
numerical-answers
+
–
0
votes
1
answer
6
Probablity Question
The given table shows the result of the class of 30. Find the probability that a given student who is passed in exam is a girl?
The given table shows the result of the class of 30. Find the probability that a given student who is passed in exam is a girl?
464
views
asked
Jan 19, 2019
Mathematical Logic
probability
engineering-mathematics
+
–
0
votes
0
answers
7
Function Pointer question
#include<stdio.h> int main ( ) { int demo ( ); // What is this and what does it do? demo ( ); (*demo) ( ); } int demo ( ) { printf("Morning"); }
#include<stdio.h>int main ( ){ int demo ( ); // What is this and what does it do? demo ( ); (*demo) ( );}int demo ( ){ printf("Morning");}
855
views
asked
Jan 2, 2019
Programming in C
programming-in-c
pointers
array-of-pointers
functions
function-pointers
+
–
0
votes
1
answer
8
Partially Functional Complete
In GATE, I have seen a lot of questions where we are asked to check whether a set of operations is functionally complete or not. I know Functionally Complete and Partially Functionally Complete are two different things, but while marking answers in GATE, will we say a set is functionally complete even when it is partially functionally complete?
In GATE, I have seen a lot of questions where we are asked to check whether a set of operations is functionally complete or not.I know Functionally Complete and Partially...
859
views
asked
Dec 23, 2018
Digital Logic
functional-completeness
digital-logic
+
–
1
votes
3
answers
9
Halting problem of TM which recognize recursive languages is undecidable?
Halting problem of Turing machines which recognize recursive languages is undecidable. (True / False)
Halting problem of Turing machines which recognize recursive languages is undecidable. (True / False)
1.8k
views
asked
Dec 10, 2018
Theory of Computation
decidability
recursive-and-recursively-enumerable-languages
theory-of-computation
turing-machine
rice-theorem
+
–
1
votes
1
answer
10
Kth Largest element in Min-Heap
What is the time complexity to find the Kth largest element in a Min-Heap? Or equivalently, What is the time complexity to find Kth smallest element in Max-Heap?
What is the time complexity to find the Kth largest element in a Min-Heap? Or equivalently, What is the time complexity to find Kth smallest element in Max-Heap?
2.3k
views
asked
Dec 1, 2018
DS
data-structures
binary-heap
time-complexity
+
–
0
votes
1
answer
11
Undirected Graph - Hamiltonian Cycle - NP Complete?
All the places where I have read the Ham-Cycle problem, the graph used is directed. Is the problem of finding Ham-Cycle on an undirected graph also NP-Complete or not?
All the places where I have read the Ham-Cycle problem, the graph used is directed. Is the problem of finding Ham-Cycle on an undirected graph also NP-Complete or not?
888
views
asked
Nov 30, 2018
Graph Theory
graph-theory
hamiltonian-cycle
p-np-npc-nph
+
–
1
votes
1
answer
12
How is the time Complexity of this problem O(n log log n)?
int A(int n){ for(i = 1; i < n; i++) for(j = 1; j < i; j *= 2) for(k = j; k >= 1; k /= 2) if(n = 0) return 1; else{ for(z = 0; z < n; z++){ // do something } } } How do find the complexity of this problem? The answer is supposed to be O(n log log n), but it maybe wrong.
int A(int n){ for(i = 1; i < n; i++) for(j = 1; j < i; j *= 2) for(k = j; k >= 1; k /= 2) if(n = 0) return 1; else...
4.2k
views
asked
Nov 22, 2018
Algorithms
algorithms
time-complexity
recurrence-relation
programming-in-c
+
–
4
votes
2
answers
13
T(n) = sqrt(n) * T(sqrt(n)) + n
T(n) = sqrt(n) * T(sqrt(n)) + n Given solution is O(log log n). But my solution is O(n log log n). 'wolframalpha'' shows the answer same as mine. You can find the solution here. Can anyone confirm the solution and provide an explantion?
T(n) = sqrt(n) * T(sqrt(n)) + n Given solution is O(log log n). But my solution is O(n log log n).'wolframalpha'' shows the answer same as mine. You can find the solution...
11.8k
views
asked
Nov 22, 2018
Algorithms
algorithms
recurrence-relation
time-complexity
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register