Skip to content

Commit

Permalink
Update solution.py
Browse files Browse the repository at this point in the history
/home/docs/checkouts/readthedocs.org/user_builds/codewars/checkouts/latest/kyu_6/scheduling/solution.py:docstring of kyu_6.scheduling.solution.shortest_job_first:3: ERROR: Unexpected indentation. [docutils]
/home/docs/checkouts/readthedocs.org/user_builds/codewars/checkouts/latest/kyu_6/scheduling/solution.py:docstring of kyu_6.scheduling.solution.shortest_job_first:4: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
  • Loading branch information
ikostan committed Nov 21, 2024
1 parent 9cc182f commit 1b808a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kyu_6/scheduling/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ def shortest_job_first(jobs: list, index: int) -> int:
"""
It takes in:
1. "jobs" a non-empty array of positive integers.
They represent the clock-cycles(cc) needed to finish the job.
They represent the clock-cycles(cc) needed to finish the job.
2. "index" a positive integer. That represents the job we're interested in.
SJF returns:
1. A positive integer representing the cc it takes to complete the job at index.
:param jobs:
:param index:
:return:
Expand Down

0 comments on commit 1b808a4

Please sign in to comment.