The time complexity will remain O(N2). This is because the inner loops are at the same level, and their combined time complexity will be linear. If the 2nd inner loop is inside the first inner loop, then the time complexity of the program will raise to O(N2).