is a recurrence.
by mathematical induction
⭐️ No such thing as 'n + 1'
Determine time complexity➡️ θ()
Q1. Express time complexity T(n) of divide-and-conquer algorithm as recurrence equation
➡️
Q2. Solve equation with Recursion tree method
➡️
Q2. Solve equation with Master method
➡️
➡️ θ(n n)
⭐️ Master theorem으로 커버못하는 부분이 있다 ➡️ Recursion tree!
Prove 1 + 3 + 5... + (2n-1) =
1) Express the time complexity T(n) of this algorithm as a recurrence equation.
Divide : θ(1), Combine : θ(1)
2) What is the running time (lower/upper bound) of this algorithm?
when
➡️
HGU 전산전자공학부 용환기 교수님의 23-1 알고리듬 분석 수업을 듣고 작성한 포스트이며, 첨부한 모든 사진은 교수님 수업 PPT의 사진 원본에 필기를 한 수정본입니다.