That loop is the same as for (int index = 0; index < N; index++) in terms on time complexity.