mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update reverse_bits.py
This commit is contained in:
parent
e85b88725f
commit
3fbab4d88f
@ -1,3 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
def reverse_bits(n: int) -> int:
|
||||
|
||||
result, base = 0, 31
|
||||
|
Loading…
x
Reference in New Issue
Block a user