Can anybody say what's the importance of bitwise operators? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anybody say what's the importance of bitwise operators?

and how does they help in in faster time complexity of the program?

15th Jun 2017, 5:28 AM
Suhail Pappu
Suhail Pappu - avatar
3 Answers
+ 4
Bitwise operators are important because they are the root claculation operations in computer: microprocessors are made with a lot of logical gates (transistors) giving these basics operations, which are used to build (program) more advanced functionnalities ;) This is the basis of computer logic ^^
15th Jun 2017, 10:27 AM
visph
visph - avatar
+ 2
this code will help you understand https://code.sololearn.com/co8vZnCO3bk4/?ref=app
15th Jun 2017, 7:19 AM
chris
chris - avatar
+ 2
https://en.wikipedia.org/wiki/Bit_manipulation https://en.wikipedia.org/wiki/Bitwise_operation#Applications
15th Jun 2017, 9:37 AM
Bogdan Sass
Bogdan Sass - avatar