UVa 10037 - Bridge A simple n log(n) works fine. The basic idea is to use the first and second fast person for carrying the flashlight. Python solution