minimize_max_distance_to_gas_station

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2019 License: MIT Imports: 0 Imported by: 0

README

< Previous                  Next >

774. Minimize Max Distance to Gas Station (Hard)

[Binary Search]

Similar Questions

  1. Koko Eating Bananas (Medium)

Hints

Hint 1 Use a binary search. We'll binary search the monotone function "possible(D) = can we use K or less gas stations to ensure each adjacent distance between gas stations is at most D?"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL