Attend the Most Events, One per Day

Asked at Snowflake · Coding Questions · Difficulty: Medium · Last asked Jan 30, 2026

A conference publishes a list of events. Each event runs over a range of whole days, and you attend it by going on any one of those days. You can attend at most one event per day. Find the largest number of events you can attend.

Loading the problem…