Possible Sample Answer to be Reconsidered?

by Will
(TN)

Is it possible that the sample question's answer is wrong in the way it is worked out?

what in the logic of lines 70 to 130 force the comparison to be between the first item and the next highest number?

it seems that when the value of I changes that the value of No(I) is changed and the value of NO(I-1) is also changed

So what am I missing here if the first comparison is between

4 as NO(I) and 5 as NO(I-1)
after the replacement then
the values are also changed so that now it is
4 , 5

then the value of I is increased by 1 to 3

so then next time through I would think that it would be comparing 1 as NO(I) I being 3
and 5 as NO(I-1)

Click here to post comments

Join in and write your own page! It's easy to do. How? Simply click here to return to views.

Recent Articles

  1. What's the point in being more?

    Sep 17, 19 03:04 AM

    The more intelligent you are... the more you are aware of your own stupidity. I wish I could be an idiot so I could not see ( mine and those that surround

    Read More

  2. Personality types test and selection of employees

    Jul 26, 19 04:21 PM

    Personality types test is a tool to screen employees for managerial or leadership positions, organizations can avoid a bad hire.

    Read More

  3. Too critical.

    Jun 25, 19 06:01 AM

    I discovered what type I am, and as I read deeper into that type, it told me things about myself.. This article was far too critical. My health practitioner

    Read More