No one has replied
You could just do this instead
What is your evidence to say that __builtin_popcount(x^y) works in O(1)?
@kevinbauer Hello Kevin, I don't quite understand that why your looping index i is started from 1 rather than 0. In you code, the least significant bit of m is not & with 1. Please let me know where I am wrong. Thanks!
your code is really concise!
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.