Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ Task
Class
Task
scheduling/job_sequence_with_deadline.py:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
21
@dataclass
22
class
Task:
23
task_id: int
24
deadline: int
25
reward: int
26
27
28
def
max_tasks(tasks_info: list[tuple[int, int]]) -> list[int]:
Callers
1
max_tasks
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected