-
Notifications
You must be signed in to change notification settings - Fork 46.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add round_robin scheduling algorithm #2158
Conversation
Hey @pawanbuddy2000, TravisCI finished with status TravisBuddy Request Identifier: 32bb5ac0-ba0a-11ea-a74d-ef5d1a577ce8 |
Hey @pawanbuddy2000, TravisCI finished with status TravisBuddy Request Identifier: 975b5220-ba17-11ea-a74d-ef5d1a577ce8 |
https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md No type hints, no doctests, please format code with psf/black, please use snake_case_for_function_and_variable_names, etc. |
Travis tests have failedHey @pawanbuddy2000, TravisBuddy Request Identifier: 995df5d0-bc0d-11ea-937a-75d40a178b7c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On your local machine, try python3 -m doctest -v round_robin.py
and make sure all doctests pass.
Co-authored-by: Christian Clauss <cclauss@me.com>
Travis tests have failedHey @pawanbuddy2000, TravisBuddy Request Identifier: 15eb07b0-bcad-11ea-ab91-9125a069a76b |
Co-authored-by: Christian Clauss <cclauss@me.com>
Travis tests have failedHey @pawanbuddy2000, TravisBuddy Request Identifier: 6b95cea0-bcaf-11ea-ab91-9125a069a76b |
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Travis tests have failedHey @pawanbuddy2000, TravisBuddy Request Identifier: c22fecb0-bcb3-11ea-ab91-9125a069a76b |
Hey @pawanbuddy2000, TravisCI finished with status TravisBuddy Request Identifier: d9694dc0-bd28-11ea-ab91-9125a069a76b |
Hey @pawanbuddy2000, TravisCI finished with status TravisBuddy Request Identifier: 23873b90-bd2b-11ea-ab91-9125a069a76b |
Sir, my last code passes all the tests right.... |
Sir, Python type hints functions should be only be declared in List? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this awesome contribution!!
Each of these functions is taking in a |
* round_robin and priority cpu scheduling algorithms * Delete priority_cpu_scheduling.py * Delete round_robin_algorithm.py * [add] cpu_scheduling_algorithms * [add] Round robin cpu scheduling algorithm * Update scheduling/round_robin_scheduling_algorithm.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update scheduling/round_robin.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update scheduling/round_robin_scheduling.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update scheduling/round_robin_scheduling.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update scheduling/round_robin.py Co-authored-by: Christian Clauss <cclauss@me.com> * Round_Robin * Update round_robin.py * Update round_robin.py * Update round_robin.py * Update round_robin.py Co-authored-by: pawanbuddy <46370996+pawanbuddy@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Describe your change:
Checklist:
Fixes: #{$ISSUE_NO}
.