Outer i loop not considered


#1

Why does the solution not consider the outer loop?