Bear and Steady Gene

  • + 1 comment

    acc. to your approach can't i set maxIndex directly to n-1 ?