Skip to content

Commit ae48866

Browse files
authored
consist of bitwise operators
1 parent 59e1105 commit ae48866

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
## **Referance:** [Competetive programming with python](https://www.youtube.com/playlist?list=PLS1QulWo1RIZZc0V_a8cEuFFkF5KbGlsf)
77

88
------------------------------------------------------------------------------------
9-
#### bitwise operator not - ~ : (a = 10 => 1010 (Binary) => ~a = ~1010 = -(1010 + 1) = -(1011) = -11)
10-
#### bitwise operator xor - ^ : (n^n = 0), (n^0 = n)
11-
#### bitwise operator rightshift - >> : (100 >> 2 = 25)
12-
#### bitwise operator leftshift - << : (100 << 2 = 400)
9+
#### bitwise operator not {~} : (a = 10 => 1010 (Binary) => ~a = ~1010 = -(1010 + 1) = -(1011) = -11)
10+
#### bitwise operator xor {^} : (n^n = 0), (n^0 = n)
11+
#### bitwise operator rightshift {>>} : (100 >> 2 = 25)
12+
#### bitwise operator leftshift {<<} : (100 << 2 = 400)
1313

1414
-------------------------------------------------------------------------------------
1515
### Odd-Even:O(1)

0 commit comments

Comments
 (0)