Skip to content

Commit 129bba2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 08e87b1 commit 129bba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheduling/weighted_interval_scheduling.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def find_max_weight(jobs: list[tuple[int, int, int]]) -> int:
4444
200
4545
"""
4646
# Sort jobs based on their end times
47-
jobs.sort(key=lambda ele : ele[1])
47+
jobs.sort(key=lambda ele: ele[1])
4848

4949
# Initialize dp array to store the maximum weight up to each job
5050
length = len(jobs)

0 commit comments

Comments
 (0)