← Back to companies
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/$
Given a set of tasks, each with a task ID, a deadline (in days), and reward points, each task must be completed within one day. Your goal is to arrange the task execution sequence so that the total reward points are maximized. Output the task completion order (list of task IDs) and the maximum total reward.