Compute reachability and minimal-time same-type scheduling | Amazon