《An interesting algorithm problem: the longest plateau》有6个想法

  1. It seems there are some bugs;

    if I have an array int a[] = {1,2,3,3,4,4,45,5,45,5,5,5,5,5,6};
    the result may be some error;

  2. the second way have one bug
    if giving test array is a[] = {1,2,3,4,5,5,5,6,7,6,6,6,6}

电子邮件地址不会被公开。 必填项已用*标注