mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-23 17:01:28 -04:00
Update reverse_bits.py
This commit is contained in:
parent
e85b88725f
commit
3fbab4d88f
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
def reverse_bits(n: int) -> int:
|
||||
|
||||
result, base = 0, 31
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue