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
  • 73,212
  • 30
  • 182
  • 400
programmer
  • 159
  • 2
  • 5

0 Answers0