C++20 sections · 1024 units
Open in Course

Quiz: Use Cases

Knowledge check

Check Your Understanding

Which structure best represents a weighted graph edge?

  1. A.tuple<int, int, int> for (weight, from, to)
  2. B.pair<int, int> for (from, to)
  3. C.vector<int> with 3 elements
  4. D.string like "1-2:5"
Start the roadmap to answer the quizzes and solve the challenges