Algorithms questions

Q11

GATE CS 2022 CSAlgorithm AnalysisMCQ1 mark−1/3 if wrong
Which one of the following statements is TRUE for all positive functions f(n)f(n)?
Show answer without attempting

Answer: A

Q16

GATE CS 2022 CSSearching Sorting and HashingMCQ1 mark−1/3 if wrong
Suppose we are given nn keys, mm hash table slots, and two simple uniform hash functions h1h_1 and h2h_2. Further suppose our hashing scheme uses h1h_1 for the odd keys and h2h_2 for the even keys. What is the expected number of keys in a slot?
Show answer without attempting

Answer: B

Q49

GATE CS 2022 CSGraph AlgorithmsMSQ2 marks
Consider a simple undirected weighted graph GG, all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of GG is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

0/30 correct0 marks

Related topics in GATE CS