Byte Depth
← All tags

#Bit Manipulation

6 articles

DSA

Missing Number

5 approaches incl. Brute Force, Better, II, and more. Optimal — Time O(n), Space O(1).

Easy·Aug 8, 2026
DSAArraysLeetCode

DSA

Counting Bits

Covers: brute Force, Dynamic Programming. Optimal — Time O(n), Space O(n).

Easy·Aug 8, 2026
DSABit ManipulationLeetCode

DSA

Reverse Bits

Covers: Brute Force, Bit Manipulation. Optimal — Time O(1), Space O(1).

Easy·Aug 8, 2026
DSABit ManipulationLeetCode

DSA

Sum of Two Integers

Bit Manipulation. Time O(1), Space O(1).

Medium·Aug 8, 2026
DSABit ManipulationLeetCode

DSA

Number of 1 Bits

Covers: Shift Right and Count, Brian Kernighan's Algo. Optimal — Time O(t), Space O(1).

Easy·Aug 8, 2026
DSABit ManipulationLeetCode

DSA

Maximum Length of Bitonic Subsequence

DP approach.

Medium·Aug 8, 2026
DSADynamic ProgrammingDP
© 2026 ByteDepth. All rights reserved.Built with care for curious engineers.