Leetcode 154 Find Minimum In Mathematica