185 easy
Find shortest and longest
Not sure whether to find all permutations manually or figure out equation.