Max-Min Difference in an Interval

  • + 0 comments
    a[n++] = MAXA * 2 + 1;
    

    why was (n + 1)th value added to the array in the editorial ?