Skip to content

Bit Manipulation

46 Posts

What are Bitwise Operators?

This article will help you understand Bitwise operators and how to use them by giving practical examples.

Binary Number System and Its Representation

Learn the binary number system: how base-2 numbers are written using only 0 and 1, and how they represent values in mathematics and digital electronics.

What is Decimal Number System?

Long ago, humans created a number system that has precisely ten digits. This number system is called the Decimal Number System, and the digits in this number system are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

Introduction to Number Systems

Learn what a number system is: how digits and symbols represent values, and how decimal and binary fit in, as the starting point for bit manipulation.

What is Bit Manipulation?

Bit manipulation is algorithmically manipulating bits or other pieces of data shorter than a word. Bit manipulation is something that has constant time complexity.

Find The Missing Number From The Array

In this article, we'll learn various ways to find the missing number in an array. We use a memoization approach, a mathematical approach, and the most optimized way using the XOR operator.