Solution 1: accepted 18ms
Binary search.
Feel the differences and commonalities. The first solution is recommended, as it is a wild card solution.
|
|
|
|
|
|
Binary search.
Feel the differences and commonalities. The first solution is recommended, as it is a wild card solution.
|
|
|
|
|
|