Skip to content
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

feat: add power of two algorithm #2224

Merged
merged 7 commits into from
Feb 3, 2023

Conversation

pg2511
Copy link
Contributor

@pg2511 pg2511 commented Oct 12, 2022

Added new CPU-Scheduling Algorithm Shortest Job First

Panquesito7
Panquesito7 previously approved these changes Dec 27, 2022
Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thanks! 🚀

@Panquesito7 Panquesito7 added enhancement New feature or request automated tests are failing Do not merge until tests pass labels Dec 27, 2022
@Panquesito7 Panquesito7 changed the title Shortest Job First feat: add power of two algorithm Dec 27, 2022
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale Author has not responded to the comments for over 2 weeks label Jan 27, 2023
@Panquesito7 Panquesito7 removed the automated tests are failing Do not merge until tests pass label Jan 27, 2023
tjgurwara99
tjgurwara99 previously approved these changes Feb 1, 2023
* @namespace bit_manipulation
* @brief Bit manipulation algorithms
*/
namespace bit_manipulation {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 2 namespaces are required ? Is it like you would add more algorithms in this file ?

Copy link
Member

@Panquesito7 Panquesito7 Feb 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only two namespaces are required in case there are a lot of functions. But in this case, it's only one function, so having one namespace should suffice.

krishnacx
krishnacx previously approved these changes Feb 2, 2023
@Panquesito7 Panquesito7 dismissed stale reviews from krishnacx and tjgurwara99 via df16aa4 February 3, 2023 21:11
@Panquesito7 Panquesito7 merged commit dc8ecfb into TheAlgorithms:master Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale Author has not responded to the comments for over 2 weeks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants