Exponents & Roots

Powers, roots, and exponent rules. Learn x^a × x^b = x^(a+b) and how to simplify expressions.

49 lessons
158 min
Codeforces: 800-1100LeetCode: 1200-1400

Lessons

1. Intro

The Goal

2m

2. What Are Exponents?

Repeated multiplication

3m

3. Vocabulary - Base and Exponent

The two parts

2m

4. Small Examples

Building intuition

3m

5. Quiz: Basic Exponents

Knowledge check

2m1 problems

6. Exponent of 0

Always equals 1

3m

7. Exponent of 1

Just the base

2m

8. Product Rule

Adding exponents

3m

9. Quotient Rule

Subtracting exponents

3m

10. Power of a Power

Multiplying exponents

3m

11. Quiz: Exponent Rules

Knowledge check

2m1 problems

12. Negative Exponents

Reciprocal of positive power

3m

13. Fractional Exponents

Roots in disguise

3m

14. Square Roots

Inverse of squaring

3m

15. Cube Roots and Higher

Generalizing roots

3m

16. Why Learn Exponents?

Practical applications

3m

17. Problem - Power Function

LeetCode 50

3m1 problems

18. Power - Naive Approach

Loop n times

3m

19. Power - The Idea

Squaring reduces work

4m

20. Power - Recursion

Breaking down the exponent

3m

21. Power - Implementation

Fast exponentiation

5m1 problems

22. Power - Walkthrough

Tracing the algorithm

4m

23. Lessons from Power Function

summary

3m

24. Perfect Squares

Integers with integer roots

3m

25. Problem - Valid Perfect Square

LeetCode 367

2m1 problems

26. Perfect Square - Binary Search

Finding the root

4m

27. Perfect Square - Implementation

Binary search solution

5m1 problems

28. Lessons from Perfect Square

summary

3m

29. Modular Exponentiation

Computing large powers

4m

30. Problem - Power Modulo

Fast exponentiation with mod

3m

31. Power Modulo - Algorithm

Iterative approach

4m

32. Power Modulo - Implementation

Bit-by-bit squaring

5m

33. Power Modulo - Walkthrough

Tracing the algorithm

4m

34. Lessons from Modular Exponentiation

summary

4m

35. Problem - Count Good Numbers

LeetCode 1922

3m1 problems

36. Count Good Numbers - Counting Pattern

Positions alternate

3m

37. Count Good Numbers - Exponent Calculation

Half positions, ceiling trick

3m

38. Count Good Numbers - Implementation

Using modular exponentiation

4m1 problems

39. Lessons from Count Good Numbers

summary

3m

40. Problem - Super Pow

LeetCode 372

3m1 problems

41. Super Pow - Breaking Down the Exponent

Decomposition trick

4m

42. Super Pow - Modular Exponentiation Rules

Apply modulo properties

3m

43. Super Pow - Implementation

Recursive approach

4m1 problems

44. Lessons from Super Pow

summary

3m

45. Common Exponent Values

Powers of 2

3m

46. Exponents in Big-O

Algorithm complexity

4m

47. Exponents and Bit Manipulation

Powers of 2 everywhere

3m

48. Roots and Precision

Floating-point issues

3m

49. Section Recap

What we learned

3m

Ready to start learning?

Access all 49 lessons with interactive content and progress tracking.