0

Assuming we have two integers a and b, if we do bitwise operations like a & b or a | b, is the running time O(1) (constant) or is it O(b) where b is the number of bits in a and b? Thanks!

Raphael
  • 72,336
  • 29
  • 179
  • 389
programmer
  • 159
  • 2
  • 5

0 Answers0