README.md
April 23, 2016 ยท View on GitHub
Use the array hash to calculate the time one element appears. For instance, hash[i] means the time i appears. And when hash[i] > len / 2, we can say that i is the answer.
April 23, 2016 ยท View on GitHub
Use the array hash to calculate the time one element appears. For instance, hash[i] means the time i appears. And when hash[i] > len / 2, we can say that i is the answer.