

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: Polynomial vs. Exponential
incomplete
2: Polynomial Time = P
incomplete
3: Reduction to P
incomplete
4: Order K^N – Exponential
incomplete
5: Big O Categories Review
incomplete
6: Complexity Quiz - Example 1
incomplete
7: Complexity Quiz - Example 2
incomplete
8: Complexity Quiz - Example 3
incomplete
9: Exponential Growth Sequences
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
At LockedIn, we are interested in simulating the exponential growth of an influencer's followers over a certain period with an adjustable growth factor.
Complete the exponential_growth function. Given the initial followers count n, growth factor factor, and number of days days, return a list containing the exponential growth of followers for each day.
For example:
- Initial followers: 10
- Growth factor: 2
- Days: 4
Growth sequence: [10, 20, 40, 80, 160]
Each day's value is the previous day's value multiplied by factor.