if inner for loop breaks then does it count as an iteration?

前端 未结 0 392
礼貌的吻别
礼貌的吻别 2021-01-11 22:43

void longRunningFunction(array) { for ( i = 0; i < length(array); i++ ) {

    idx = i

    for ( j = i + 1; j < length(array); j++ ) {

        if ( arr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题