Bit Manipulation Problems

Master bit manipulation problems with AI-powered solutions. Get instant coding assistance during your technical interviews for all 142 problems in this category.

Total Problems: 142
Easy: 36
Medium: 63
Hard: 43
Showing 50 of 142 problems

Problems

Scroll within this area to browse all problems

#
Title
Difficulty
268

Missing Number

Easy
67

Add Binary

Easy
190

Reverse Bits

Easy
222

Count Complete Tree Nodes

Easy
78

Subsets

Medium
287

Find the Duplicate Number

Medium
231

Power of Two

Easy
136

Single Number

Easy
29

Divide Two Integers

Medium
461

Hamming Distance

Easy
89

Gray Code

Medium
371

Sum of Two Integers

Medium
137

Single Number II

Medium
861

Flipping an Image

Easy
342

Power of Four

Easy
698

Partition to K Equal Sum Subsets

Medium
464

Can I Win

Medium
638

Shopping Offers

Medium
2323

Minimum Bit Flips to Convert Number

Easy
800

Letter Case Permutation

Medium
405

Convert a Number to Hexadecimal

Easy
877

Shortest Path Visiting All Nodes

Hard
389

Find the Difference

Easy
421

Maximum XOR of Two Numbers in an Array

Medium
1444

Number of Steps to Reduce a Number to Zero

Easy
90

Subsets II

Medium
191

Number of 1 Bits

Easy
1022

Unique Paths III

Hard
1825

Find Minimum Time to Finish All Jobs

Hard
691

Stickers to Spell Word

Hard
338

Counting Bits

Easy
1458

Sort Integers by The Number of 1 Bits

Easy
3197

Maximum Strong Pair XOR II

Hard
526

Beautiful Arrangement

Medium
2162

Partition Array Into Two Arrays to Minimize Sum Difference

Hard
795

K-th Symbol in Grammar

Medium
2078

Maximum Compatibility Score Sum

Medium
1993

Sum of All Subset XOR Totals

Easy
3428

Find the XOR of Numbers Which Appear Twice

Easy
1360

Maximum Length of a Concatenated String with Unique Characters

Medium
934

Bitwise ORs of Subarrays

Medium
393

UTF-8 Validation

Medium
1786

Count the Number of Consistent Strings

Easy
1054

Complement of Base 10 Integer

Easy
2170

Count Number of Maximum Bitwise-OR Subsets

Medium
476

Number Complement

Easy
473

Matchsticks to Square

Medium
1587

Parallel Courses II

Hard
260

Single Number III

Medium
767

Prime Number of Set Bits in Binary Representation

Easy
Loading more problems...

Bit Manipulation LeetCode Problems List

Related LeetCode Topics

Bit Manipulation LeetCode Problems - Interview Coder