Given four unsigned 32-bit integers a, b, c, and d, compute their average without causing integer overflow during intermediate calculations and without casting to larger types.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.