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