Compute rightmost-smaller delay times | Amazon