You are viewing a single comment's thread. Return to all comments →
for one liner gang !!!!!!!!!!!!!!!!!!!!!!!!!!
def bitwiseAnd(N, K): return K - 1 if (K - 1 | K <= N) else K - 2
Day 29: Bitwise AND
You are viewing a single comment's thread. Return to all comments →
for one liner gang !!!!!!!!!!!!!!!!!!!!!!!!!!