Nested loops are one of the most powerful tools in programming, but also one of the most dangerous in terms of performance.
A nested loop is simply a loop placed inside another loop.
You already know how to write a single loop, the while and for loops from the previous chapters.
Now you will learn to combine them and, just as importantly, to write them efficiently.
Read the full transcript.
Create an account to read the whole episode, search across every transcript, and follow the shows you care about.
Nested loops are one of the most powerful tools in programming, but also one of the most dangerous in terms of performance.
A nested loop is simply a loop placed inside another loop.
You already know how to write a single loop, the while and for loops from the previous chapters.
Now you will learn to combine them and, just as importantly, to write them efficiently.