aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Algorithms - GATE Previous Year Questions
  • Which of the following statement(s) is / are correct rega...
Multiple choice

Which of the following statement(s) is / are correct regarding Bellman-Ford shortest path algorithm? P. Always finds a negative weighted cycle, if one exists. Q. Finds whether any negative weighted cycle is reachable from the source.

  1. P only

  2. Q only

  3. both P and Q

  4. Neither P nor Q

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Keep practicing — related questions

  • What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete graph of n ...
  • With reference to earthquakes, which one of the following statements is not correct?
  • Which of the following statements is/are correct? 1. A proclamation of emergency may be revoked by the Pres...
  • The STUDENT_GRADES table has the following columns: STUDENT_ID NUMBER (12) SEMESTER_END DATE GPA NUMBER (4,...
  • Consider the following statements: 1. The largest asteroid found in the solar system is Ceres. 2. Asteroids...
  • Directions: Select the correct option after changing the following sentence into negative. The grapes are r...
  • Directions: Select the correct option after changing the following sentence into negative. My mother brough...
  • Which of the following statements are correct about RIP?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy