Q31
MCQ2 marks, −0.67AlgorithmsLet be an undirected, edge-weighted graph with integer weights. The weight of a path is the sum of the weights of the edges in that path. The length of a path is the number of edges in that path. Let be a vertex in . For every and for every , let denote the weight of a shortest path (in terms of weight) from to of length at most . If there is no path from to of length at most , then . Consider the statements: S1: For every and . S2: For every , if is part of a shortest path (in terms of weight) from to , then for every . Which one of the following options is correct?
Keys: A–D or 1–4 choose, Enter checks, ← → move between questions.
Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.