See algorithm growth happen instead of reading about it.
Learn Algorithms Analysis runs small Python programs one line at a time. A marker shows the line being run, the call stack shows every variable as it changes, and a chart plots the number of steps for n = 0, 1, 2 ... as the program prints them. Within a minute you see why one loop stays flat while another shoots up.
Eight lessons, from slowest to fastest growth:
• No Loop: constant time, 1 step
• Squaring Loop: i = i * i, log log n
• Halving Loop: n = n // 2, log n
• Square Root Loop: while d * d <= n, √n
• One Loop: n
• Loop with Halving: n log n
• Two Loops: n²
• Three Loops: n³
For each lesson:
• Pick a limit, or type your own
• Next runs one line, Next n jumps to the next value of n, Back goes one step back
• A plain-English sentence explains every step
• The chart starts empty and gains one point per value of n
Made for students of analysis of algorithms and for teachers who want to show growth rates on a phone, without a projector. Lessons download once and then work offline. No ads, no accounts, no tracking.
Step through Python loops line by line and watch how fast their steps grow.