Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Algorithms
Recent questions tagged algorithms
248
views
0
answers
0
votes
TestBook TestSeries question to find number of paths in directed graph
Consider the following directed graph and assume the number of paths to reach to itself i.e. N(A) = 1.Number of paths from A to K are __
Sahil_Lather
248
views
Sahil_Lather
asked
Jan 28, 2023
Algorithms
algorithms
directed-acyclic-graph
testbook-test-series
+
–
410
views
0
answers
0
votes
TestBook testSeries dynamic programming and np problem question
Consider the following statements, which of the statement(s) is/are FALSE?The running time of dynamic programming algorithm is always θ (p) where p is number of ... can be reduced to a known NP hard problem, then X must be NP-hard
Sahil_Lather
410
views
Sahil_Lather
asked
Jan 28, 2023
Algorithms
algorithms
dynamic-programming
testbook-test-series
+
–
531
views
0
answers
0
votes
Topic - Dijkstra Algorithm Question 5a
gate20232
531
views
gate20232
asked
Jan 18, 2023
Algorithms
algorithms
dijkstras-algorithm
+
–
439
views
1
answers
0
votes
let T(n) a function of complexity satisfying T(0)=T(1)=Θ(1) and T(n)=Θ(n)+T(n−1)+T(n−2). what is the class of complexity of T(n) ?
soukL
439
views
soukL
asked
Jan 17, 2023
Algorithms
algorithms
time-complexity
+
–
537
views
0
answers
0
votes
Asymptotic Notation
Let $f(n)$ be a positive increasing function. Consider the below two statements:S1: if an algorithm is $\Theta(f(n))$ in the average case, then it is $\Omega(f(n))$ ... $g(n)$ belongs to the set $\Theta(f(n))$, right?
kira000
537
views
kira000
asked
Jan 17, 2023
Algorithms
asymptotic-notation
algorithms
time-complexity
+
–
497
views
4
answers
0
votes
Self Doubt
A recursion program without a terminating condition will provide infinite output. True/False?
Aryanzzzz
497
views
Aryanzzzz
asked
Jan 16, 2023
Algorithms
self-doubt
algorithms
recursion
+
–
1.2k
views
2
answers
5
votes
GATE CSE 2014 Set 2 | Question: 10 | Modified
Consider the function func shown below: int func(int num) { int count = 0; while (num) { count++; num>>= 1; } return (count); }The value returned by func(-435) is:69Will loop foreverDepends on computer architecture
Souvik33
1.2k
views
Souvik33
asked
Jan 15, 2023
Programming in C
algorithms
identify-function
numerical-answers
easy
+
–
644
views
0
answers
1
votes
Test series
Can anyone solve this recurrence relation T(n) = 3T(n-1) + O(n^2)Its ans is O(3^n n^2)
MonuKhan
644
views
MonuKhan
asked
Jan 12, 2023
Algorithms
recurrence-relation
algorithms
time-complexity
asymptotic-notation
+
–
372
views
0
answers
2
votes
What are the total number of topological ordering?
h4kr
372
views
h4kr
asked
Jan 10, 2023
Algorithms
topological-sort
algorithms
+
–
529
views
1
answers
3
votes
Please draw the huffman diagram for the following question
h4kr
529
views
h4kr
asked
Jan 10, 2023
Algorithms
huffman-code
algorithms
+
–
495
views
1
answers
2
votes
What is time complexity?
What is the correct time complexity in $\theta()$ ?
h4kr
495
views
h4kr
asked
Dec 30, 2022
Algorithms
time-complexity
algorithms
+
–
710
views
1
answers
1
votes
Array P&DS | Time Complexity
What is the worst case time complexity of an efficient algorithm (in order of n) to get the last index for an actually filled element, in an array, given the condition that we may ... be filled in a sorted order]O(n)O(1)O(log(n))O($n^2$)
Souvik33
710
views
Souvik33
asked
Dec 17, 2022
DS
algorithms
time-complexity
array
+
–
821
views
2
answers
1
votes
DRDO CSE 2022 Paper 2 | Question: 1
What is the minimum number of nodes required in a DAG (Directed Acyclic Graph) for the following block?\[\begin{aligned}U=Z & =V+W \\X=Y & =U+1 \\A & =X+Y\end{aligned}\]
admin
821
views
admin
asked
Dec 15, 2022
Algorithms
drdocse-2022-paper2
algorithms
graph-algorithms
directed-acyclic-graph
5-marks
descriptive
+
–
Page:
« prev
1
...
5
6
7
8
9
10
11
12
13
14
15
...
118
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register