Recent questions tagged algorithms

0 votes
1 answer
153
If an array is split in the form of increasing and decreasing order then what is TC to find minimum element in the array?
0 votes
1 answer
155
What is the time complexity of best algorithm that decides whether a given directedgraph represented as adjacency Matrix contains a sink or not ?(a)O(V^2)(b)O(VlogV)(c)O(...
0 votes
5 answers
156
Select the function(s) which is/are $O(n log n)$:$2n\log n+3n$$10n\log n^2$$1+\sqrt n$$2n^2-3n$
0 votes
2 answers
157
Consider a graph with n vertices that is a collection of k disjoint trees, where 𝑛 𝑘 1 . How many edges does this graph have?(A) n-1 (B) k (n-1) (C) n-k (D) n-k-1...