Check out a free preview of the full Data Structures and Algorithms in JavaScript course:
The "Exercise: Calculating Time Complexity" Lesson is part of the full, Data Structures and Algorithms in JavaScript course featured in this preview video. Here's what you'd learn in this lesson:

In this exercise, you will calculate the Time Complexity for various JavaScript code snippets. The code snippets for his exercise are located in Bianca's slides.

Get Unlimited Access Now

Transcript from the "Exercise: Calculating Time Complexity" Lesson

[00:00:00]
>> Bianca Gandolfo: We're gonna to hop into some exercises. You guys ready to do this on your own? You have a friend. You remember how to meet your friends from yesterday, where you turn and you shake their hand, like this. If you're online you can use code share to meet up with someone and talk about Time complexity.

[00:00:19] Your exercises are gonna be in the following slides. So if you just continue, it says what is the time complexity.
>> Bianca Gandolfo: That's the exercises you're gonna do. It's not in GitHub, okay? That's important.