Maximum Number of Events That Can Be Attended at Instacart

Medium38.9% acceptance

This problem has 62.5% frequency at Instacart.

Problem Description

You are given an array of `events` where `events[i] = [startDayi, endDayi]`. Every event `i` starts at `startDayi` and ends at `endDayi`. You can attend an event `i` at any day `d` where `startDayi <= d <= endDayi`. You can only attend one event at any time `d`. Return _the maximum number of event...

Read full problem and hints

Topics

Also asked at 14 companies


More Instacart Questions

View all Instacart questions