Check out a free preview of the full A Practical Guide to Algorithms with JavaScript course:
The "Iterative Loop Exercise" Lesson is part of the full, A Practical Guide to Algorithms with JavaScript course featured in this preview video. Here's what you'd learn in this lesson:

In this exercise, students translate a recursive pattern into an iterative loop.

Get Free Access Now

Transcript from the "Iterative Loop Exercise" Lesson

[00:00:00]
>> Bianca Gandolfo: Are you ready for an exercise? So this exercise is, take this joint elements,
>> Bianca Gandolfo: Function, and write it iteratively. So I went through the recursive case, translate that into the iterative case.