GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2026 set2

GATE 2026 set2 · CS · MCQ · 2 marks · Algorithms › Graph Algorithms

GATE 2026 set2 Computer Science and Information Technology question: Let G be a weighted directed acyclic graph with m edges and n vertices. Given G and a…

Let be a weighted directed acyclic graph with edges and vertices. Given and a source vertex in , which one of the following options gives the worst case time complexity of the fastest algorithm to find the lengths of shortest paths from to all vertices that are reachable from in ?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: A

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion