mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-25 18:01:09 -04:00
some simple examples
This commit is contained in:
parent
2e3116f207
commit
52fdba36de
10 changed files with 99 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
BITWISE
|
||||
BIT-WISE
|
||||
----------------------
|
||||
|
||||
1. To find a number:
|
||||
|
@ -30,4 +30,4 @@
|
|||
|
||||
6. Is power of 2?
|
||||
just do x&(x-1).
|
||||
if 0 --> yes!
|
||||
if 0 --> yes!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue