← Flipkart questions

Activity Scheduling with Deadlines for Maximum Profit

Filed under Flipkart

Given a set of n tasks where each task has a deadline and a profit obtained if finished by its deadline (each task takes 1 unit of time), find the maximum profit and an optimal sequence of tasks to…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.