Level 3

Bit Manipulation

Important tutorials

1. What Is Binary Number System
View Tutorial
2. Understanding Data Types Int
View Tutorial
3. Bitwise Operators
View Tutorial
4. Bitwise Operators ( Contd.. )
View Tutorial
5. Tricks With Bits
View Tutorial
6. Bitwise And Logical Operators :
View Tutorial

Bit Manipulation Problems

Bit play
Problem Score Companies Time Status
Number of 1 Bits 200 8:47
Reverse Bits 225 23:50
Divide Integers 250 65:36
Different Bits Sum Pairwise 300
50:14
Bit tricks
Problem Score Companies Time Status
Min XOR value 200 37:42
Count Total Set Bits 200 49:01
Palindromic Binary Representation 200 52:05
Bit array
Problem Score Companies Time Status
Single Number 275 11:53
Single Number II 275 39:21

Additional Practice

Problem Score Companies Time Status
Trailing Zeroes 200 12:16
XOR-ing the Subarrays! 200 25:43