Skip to content

Conversation

@NeerajHazarika
Copy link
Contributor

Related Issue #181

Issue Name : Count set bits in an integer
Closes : #181

  • Hacktoberfest2021 Participant
  • Contributor

Description

  • added 2 Python scripts : brute_approach.py and brian_kernighans_algo.py
  • Doc file explaining the both algorithm

Type of Change

What sort of change have you made:

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

This script or code has been tested using various test cases and scenarios.

Checklist

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly whereever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added test cases that prove my fix is effective or that my feature works.

@prathimacode-hub pls review it

- added images directory at ./Bit Manipulation/Count Set Bits in an integer/Images
- added brute_approach.py at ./Bit Manipulation/Count Set Bits in an integer/
- added brian_kernighans_algo.py at ./Bit Manipulation/Count Set Bits in an integer/
Copy link
Owner

@prathimacode-hub prathimacode-hub left a comment

Choose a reason for hiding this comment

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

PR approved. Justified execution of your PR. 🎉✔@NeerajHazarika

@prathimacode-hub prathimacode-hub added HACKTOBERFEST This issue is applicable for Hacktoberfest 2022 HACKTOBERFEST-ACCEPTED This PR is approved and accepted for Hacktoberfest labels Oct 5, 2021
@prathimacode-hub prathimacode-hub merged commit c990e00 into prathimacode-hub:main Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HACKTOBERFEST This issue is applicable for Hacktoberfest 2022 HACKTOBERFEST-ACCEPTED This PR is approved and accepted for Hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Count set bits in an integer

2 participants