You are viewing a single comment's thread. Return to all comments →
in python -
def bitwiseAnd(N, K): if K - 1 | K <= N: return K -1 else: return K-2
Seems like cookies are disabled on this browser, please enable them to open this website
Day 29: Bitwise AND
You are viewing a single comment's thread. Return to all comments →
in python -
def bitwiseAnd(N, K): if K - 1 | K <= N: return K -1 else: return K-2