Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Reverse Bits
Bookmark
Input
Example 1: 00101011
Example 2: 00001101
Example 3: 10110111
Custom
n
=
43
n
7
6
5
4
3
2
1
0
0
0
1
0
1
0
1
1
result
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
algo
master
.
io
Step:
Reverse the bits of 43 (00101011)
0 / 26
Input
Example 1: 00101011
Example 2: 00001101
Example 3: 10110111
Custom
n
=
43
0 / 26
n
7
6
5
4
3
2
1
0
0
0
1
0
1
0
1
1
result
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
algo
master
.
io
Step:
Reverse the bits of 43 (00101011)