medium10 pts · first answer countsdynamic-programminggreedyintervals
Fewest bookings to cancel
Bookings are [1,2], [2,3], [3,4] and [1,3]. Bookings that only touch at an end do not clash. What is the fewest bookings to remove so none overlap?
Discussion 0
Join free to post in the discussion.
Related questions
- First step in merging intervalsBackend Developer
- When two intervals overlapBackend Developer
- Can one person attend all meetingsBackend Developer
- Signs that a problem suits DPBackend Developer
- What memoisation meansBackend Developer
- What tabulation meansBackend Developer
- Cost of plain recursive FibonacciBackend Developer
- Fibonacci after adding a cacheBackend Developer