to find if the number is divisible by 2 , the editorial uses bitwise and operator, is it better than using modulo operator. if yes , why?
Editorial doubt
hello @laksh.rustagi12
yeah u should use bitwise for this case because bitwise is faster than modulo.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.