Learn Data Structures and Algorithms | DSA Tutorial
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.
- Introduction to Bitwise Algorithms – Data Structures and Algorithms Tutorial
- Bitwise Operators in C/C++
- Bitwise Operators in Java
- Python Bitwise Operators
- All about Bit Manipulation
- 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 email@example.com. 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.