0
Can anybody say what's the importance of bitwise operators?
and how does they help in in faster time complexity of the program?
3 Réponses
+ 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 ^^
+ 2
this code will help you understand
https://code.sololearn.com/co8vZnCO3bk4/?ref=app
+ 2
https://en.wikipedia.org/wiki/Bit_manipulation
https://en.wikipedia.org/wiki/Bitwise_operation#Applications