Technically, I think
log(num)/log(4)%1 == 0
log(num)%log(4) == 0
meaning the same thing. However, the 1st one works, and the 2nd one doesn't. Is that deal to some dirty double operation? or is it just wrong?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.