Sequences & Summations

You know arithmetic and exponents. Now learn arithmetic and geometric sequences with summations.

41 lessons
136 min
Codeforces: 900-1300LeetCode: 1300-1500

Lessons

1. Intro

The Goal

2m

2. What is a Sequence?

Ordered lists of numbers

3m

3. Sequence Notation

How to write sequences

3m

4. Arithmetic Sequences

Constant difference pattern

3m

5. Arithmetic Sequence - Example

Finding the 50th term

3m

6. Quiz: Arithmetic Sequences

Knowledge check

2m1 problems

7. Geometric Sequences

Constant ratio pattern

3m

8. Geometric Sequence - Example

Powers of two

3m

9. Summation Notation

Sigma notation basics

3m

10. Summation - Example

Expanding sigma notation

3m

11. Sum of First n Integers

The famous formula

4m

12. Quiz: Sum of Integers

Knowledge check

2m1 problems

13. Arithmetic Series Formula

Sum of arithmetic sequence

4m

14. Geometric Series Formula

Sum of geometric sequence

4m

15. Geometric Series - Powers of 2

Common pattern in algorithms

4m

16. Why Nested Loops are O(n^2)

Sum explains the complexity

4m

17. Telescoping Sums

When terms cancel

4m

18. Telescoping - Example

Fraction sum

4m

19. Quiz: Summations

Knowledge check

2m1 problems

20. Problem - Range Sum Query

LeetCode 303

3m1 problems

21. Range Sum - Prefix Sum Idea

Precompute cumulative sums

4m

22. Range Sum - Implementation

In pseudocode

4m1 problems

23. Lessons from Range Sum

summary

3m

24. Problem - Arithmetic Slices

LeetCode 413

3m1 problems

25. Arithmetic Slices - Counting Insight

How many slices in a sequence

4m

26. Arithmetic Slices - Algorithm

Track consecutive arithmetic elements

4m

27. Arithmetic Slices - Implementation

In pseudocode

4m1 problems

28. Lessons from Arithmetic Slices

summary

3m

29. Problem - Perfect Squares

LeetCode 279

3m1 problems

30. Perfect Squares - DP Insight

Building from smaller values

4m

31. Perfect Squares - Iterating Squares

Loop bounds from sequence

4m

32. Perfect Squares - Implementation

In pseudocode

4m1 problems

33. Lessons from Perfect Squares

summary

3m

34. Common Sum Formulas

Reference sheet

4m

35. Summation Properties

Algebraic rules for sums

4m

36. Quiz: Summation Properties

Knowledge check

2m1 problems

37. Infinite Geometric Series

When ratio is less than 1

4m

38. Practice - Tribonacci Number

LeetCode 1137

3m1 problems

39. Practice - Climbing Stairs

LeetCode 70

3m1 problems

40. Practice - Sum of Square Numbers

LeetCode 633

3m1 problems

41. Section Recap

What we learned

3m

Ready to start learning?

Access all 41 lessons with interactive content and progress tracking.