Time Left - 15:00 mins

Greedy Method

Attempt now to get your rank among 40 students!

Question 1

Consider a Job scheduling problem with deadlines.

If Y is the minimum value such that Job 6 gets scheduled and X is the maximum value possible so that Job 4 will never get scheduled, then the value of 2X+Y is ____

Question 2

Which of the following is true?

Question 3Multiple Correct Options

Which of the following statement(s) is/are correct regarding the Prims and Kruskal algorithm?

Question 4

Which one of the following statements is correct regarding the Bellman-Ford short test path algorithm?

P: Always find a negative weight cycle if one exists.

Q: Find whether any negative edge weight cycles are reachable from the source.

Question 5

Consider the following graph:

The number of strong components of the above graph is ____.

  • 40 attempts
  • 0 upvotes
  • 0 comments
May 16GATE & PSU CS