Input is crossing time list. (for example x= [1 2 5 8])
Output is the minimum time. (for original problem y_correct= 15)
Assumption 1: for this problem only four people will cross the bridge
Assumption 2: crossing times are integer
Determine whether a vector is monotonically increasing
9255 Solvers
3417 Solvers
307 Solvers
Back to basics 22 - Rotate a matrix
682 Solvers
572 Solvers
Problem Tags