Bitwise Algorithms

  • Last Updated : 26 Sep, 2023

DSA for Beginners
Learn more about Bitwise Algorithms in DSA Self Paced Course
Practice Problems on Bit Magic !

Top Quizses on Bit Magic

The Bitwise Algorithms is used to perform operations at the bit-level or to manipulate bits in different ways. The bitwise operations are found to be much faster and are sometimes used to improve the efficiency of a program.

For example: To check if a number is even or odd. This can be easily done by using Bitwise-AND(&) operator. If the last bit of the operator is set than it is ODD otherwise it is EVEN. Therefore, if num & 1 not equals to zero than num is ODD otherwise it is EVEN.



  1. Introduction to Bitwise Algorithms – Data Structures and Algorithms Tutorial
  2. Bitwise Operators in C/C++
  3. Bitwise Operators in Java
  4. Python Bitwise Operators
  5. JavaScript Bitwise Operators
  6. All about Bit Manipulation
  7. Little and Big Endian Mystery

Standard Problems on Bit Algorithms:

Quick Links :

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.