At the challenge 1 which is previous page of solution review, the initialization value was ‘1’ of variable ‘var’ and ‘j’ in the outer and inner loops.
But It changes to ‘0’ at the solution review page.
would be the time complexity still same even if the initialization value is different?
Course: Algorithms for Coding Interviews in Java - Learn Interactively
Lesson: Solution Review: Big O of a Nested Loop with Addition - Algorithms for Coding Interviews in Java