Bitwise Algorithms

Last Updated : 15 Feb, 2023

Learn more about Bitwise Algorithms in DSA Self Paced Course
Practice Problems on Bit Magic !
Recent Articles 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.

Topics:

Introduction:

  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 write.geeksforgeeks.org or mail your article to review-team@geeksforgeeks.org. 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.


My Personal Notes arrow_drop_up

Share your thoughts in the comments

Similar Reads