CS F364: Design and Analysis of Algorithms
Introduction to Algorithms
Lecture 1
|2026-05-21
Math is needed in three ways:
Break the problem into smaller (simpler) subproblems.
Break up an integer: 1234 = 12 \times 100 + 34.
Break up an n digit integer
[x_1x_2\cdots x_n] = [x_1x_2\cdots x_{n/2}]\times 10^{n/2} + [x_{n/2+1}x_{n/2+2}\cdots x_n]
How long does this take?
Let us solve the recurrence:
Thank You!
Let’s discuss questions, clarifications, or any topics from today’s lecture.
CS F364: Design & Analysis of AlgorithmsTulasimohan Molli