Day1

1-1 Why Study Algorithms?

  • important for all other branches of computer science

  • plays a key role in modern technological innovation

  • provides novel "lens" on processes outside of CS & technology

  • challenging!

1-2 Integer Multiplication

How this course works

: Define a computational problem & give solution

The Grade-School Algorithm

ex)

  5678
x 1234
_______

Up-shot

: number of operations grows n2

​ -> As an algorithm designer, we should keep ask ourselves

​ "CAN WE DO BETTER?"

1-3 Karatsuba Multiplication

ex)

A Recursive Algorithm

invokes themselves with a sub routine

-> needs a base case

Karatsuba Multiplication

Last updated