mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
0124b73484
* Added a gray_code_sequence.py file to the bit_manipulation folder * Added a descriptive name for variable n changing it to bit count * Update gray_code_sequence.py Co-authored-by: krishchopra02 <krishchopra02@gmail.com> Co-authored-by: John Law <johnlaw.po@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
binary_and_operator.py | ||
binary_count_setbits.py | ||
binary_count_trailing_zeros.py | ||
binary_or_operator.py | ||
binary_shifts.py | ||
binary_twos_complement.py | ||
binary_xor_operator.py | ||
count_1s_brian_kernighan_method.py | ||
count_number_of_one_bits.py | ||
gray_code_sequence.py | ||
README.md | ||
reverse_bits.py | ||
single_bit_manipulation_operations.py |
- https://docs.python.org/3/reference/expressions.html#binary-bitwise-operations
- https://docs.python.org/3/reference/expressions.html#unary-arithmetic-and-bitwise-operations
- https://docs.python.org/3/library/stdtypes.html#bitwise-operations-on-integer-types
- https://wiki.python.org/moin/BitManipulation
- https://wiki.python.org/moin/BitwiseOperators
- https://www.tutorialspoint.com/python3/bitwise_operators_example.htm