Programming Question

Question: Write code that uses bitwise operations to find the smaller of two integers. You may not use conditional branching (for example, if statements) or framework methods such as Math.Min(a,b).

From: Ace the Programming Interview [Guiness]

Subject: Bit Manipulation

Load Another Question


Select a Subject