Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

UGC-NET | UGC NET CS 2015 Dec – III | Question 16

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

In Activity – Selection problem, each activity i has a start time si and a finish time fi where si ≤ fi. Activities i and j are compatible if:

(A) si ≥ fj
(B) sj ≥ fi
(C) si ≥ fj or sj ≥ fi
(D) si ≥ fj and sj ≥ fi or


Answer: (C)

Explanation: Two activities are compatible if their starting time and finish time does not overlap i.e. their execution must not overlap and starting time of one process must be greater then or equal to second process.
i.e. si ≥ fj or sj ≥ fi.
So, option (C) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 11 Jun, 2018
Like Article
Save Article
Similar Reads