Karatsuba multiplication
Karatsuba Multiplikation
Link to original
NOTE
ONLY 3 multiplications needed the normal method is to calculate and need 4 multiplications
This is called Divide and conquer
Time Complexity Analysis
: The number of digit multiplications needed to calculate the multiplication of two numbers which have n digits respectively.
- //Rekurrenz
- // kein Beweis, für Beweis braucht man Induction (See Algorithm Runtime Analysis)
one dimensional goal finding
Goal finding on a line
Link to original
Time Complexity Analysis (worst case)
k=distance between start and end Annahme:
Definition des Algorithmus
NOTE
Beschreibung einer Abfolge von elementaren Operationen zur Lösung eines Problems
A typical computer: Ops/sec
What to learn in A&D
- Entwurf und Analyse von Algorithmen
- algorithmische Denkweise
- wichtige Algorithmen kennenlernen