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 is an accurate personality test?

    Jan 08, 20 03:45 AM

    Various personality tests claim to be the best tools. However, none of them can be termed as an accurate personality test. Some may be closer to accuracy.

    Read More

  2. IQ vs knowledge

    Jan 01, 20 02:15 AM

    I score barely above average on IQ tests but in all around knowledge tests I score in the 90's. Average is 95. So would one's employer prefer knowledge

    Read More

  3. Animal Personality Test May Discover Animal in You

    Dec 09, 19 01:24 PM

    Animal personality test is a fun test. You can identify what kind of animal attitude you have.

    Read More