educative.io

Educative

Why outer for loop account for 4[logn], inner loop 8n -12?

Where is the slides which mentioned in “As described in the slides”? I can not found it. And Why outer for loop account for 4[logn], inner loop 8n -12?
Thank you

1 Like

Same I made a post to the course maybe the writer will post something?


Course: Data Structures for Coding Interviews in JavaScript - Learn Interactively
Lesson: Solution Review: Big (O) of Nested Loop with Multiplication - Data Structures for Coding Interviews in JavaScript