Binary Multiplication Flashcards
Up to what size number n can two integers be summed in a single CPU operation (O(1))?
what is the efficiency of the following:
What is the algorithm for binary multiplation using the grade school method.
Complete it and share the complexity
What is the naive algorithm for this base 10 number multiplication?
2715 * 6399
Perform the naive algorithm multiplation for these base 2 numbers:
0110 * 1101
What is the general multiplication for two n-bit integers
a * b
What is the Divide-and-conquer for general case of n-bit integers
How efficient is the following? What is the recursive formula?
Using master theorem, what is the speed of this algo:
What is the observation that leads to Karatsuba’s Multiplication algo?
What is the Divide, Conquer and Combine for Karatsuba’s mult algo?
What is the recursive formula for Karatsuba’s mult algo and what is it’s speed?
What are the algorithms that divide the size n into subproblems of approximately equal size?
What are the divide and conquer algos that divide the problem into subproblems of uneven sizes?
What is the divide,conquer and combine for quick sort?