Algochallenges
86 subscribers
1 link
Daily algorithm questions with explanations. Prepare for your next coding interview!
Download Telegram
In simple uniform hashing, what is the search complexity?
Anonymous Quiz
14%
O(n)
43%
O(logn)
9%
O(nlogn)
34%
O(1)
What is the number of edges present in a complete graph having n vertices?
Anonymous Quiz
24%
(n*(n+1))/2
58%
(n*(n-1))/2
15%
n
3%
Information given is insufficient
A connected planar graph having 6 vertices, 7 edges contains _____________ regions.
Anonymous Quiz
44%
15
33%
3
4%
1
19%
11
If a simple graph G, contains n vertices and m edges, the number of edges in the Graph G'(Complement of G) is ___________
Anonymous Quiz
42%
(n*n-n-2*m)/2
33%
(n*n+n+2*m)/2
8%
(n*n-n-2*m)/2
17%
(n*n-n+2*m)/2
What is the maximum number of edges in a bipartite graph having 10 vertices?
Anonymous Quiz
33%
24
40%
21
13%
25
13%
16
For a given graph G having v vertices and e edges which is connected and has no cycles, which of the following statements is true?
Anonymous Quiz
15%
v=e
46%
v=e+1
12%
v+1=e
27%
v=e-1
For which of the following combinations of the degrees of vertices would the connected graph be eulerian?
Anonymous Quiz
31%
1,2,3
14%
2,3,4
14%
2,4,5
41%
1,3,5
A graph with all vertices having equal degree is known as a __________
Anonymous Quiz
21%
Multi Graph
18%
Regular Graph
21%
Simple Graph
41%
Complete Graph