Local minimum in a list

Sign in to test your solution.