Snowflake logoSnowflake
Coding·45 minMembers

Max Credits with K Classes (Interval-Style)

Members only

Given a list of classes, each with `(start_time, end_time, credit)`, and a cap `K` on the number of classes that may be taken, return the maximum total credit achievable subject to no overlapping clas...

SWE
dp
interval
binary-search
sorting
scheduling
medium
Frequency
Low
Last asked
2026-06-07
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...