Multiply two integers a and b using the minimum number of additions, effectively implementing multiplication via repeated addition or bitwise shifts (Russian Peasant Multiplication).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.