Consider the interval set {(1, 5), (2, 7), (3, 6), (4, 10)}. What is the maximum number of non-overlapping intervals that can be selected using a greedy algorithm?
3
2
1
4

Data Structures and Algorithms Exercises are loading ...