← Back to Apps

Live Classroom

Interactive virtual education dashboard prototype with dynamic chat.

REC 01:24:05 24 Students
Algorithm Complexity (Big O)
1. O(1) - Constant Time 2. O(log n) - Logarithmic Time (Binary Search) 3. O(n) - Linear Time (Simple loop)
for (let i = 0; i < n; i++) {
  console.log(i);
}
4. O(n^2) - Quadratic Time (Nested loops)
Instructor
Instructor (You)
Student
Alex
Student
Jordan
Student
Sam
Student
Taylor
Student
Morgan

Class Chat Live

S
Alex 10:14 AM
Can you explain O(n^2) again?
S
Sam 10:15 AM
I think it means inside a loop there is another loop.