Skip to content

Files

Latest commit

ff25e37 · May 6, 2016

History

History
1 lines (1 loc) · 111 Bytes

File metadata and controls

1 lines (1 loc) · 111 Bytes

I just solve it with O(n) complexity, maybe you can try binary search to reduce the complexity to O(log n).