README.md
May 6, 2016 ยท View on GitHub
I just solve it with O(n) complexity, maybe you can try binary search to reduce the complexity to O(log n).
May 6, 2016 ยท View on GitHub
I just solve it with O(n) complexity, maybe you can try binary search to reduce the complexity to O(log n).