Find the minimum of a decreasing then increasing array | Dark Hacker News