Randomly pick a number between 0 and n-1, loop over the array to see if this number appears more than n / 3 times. - O (n); repeat 1 for 100 times.
確定! 回上一頁