Exercise 8 of week 2, length problem

The machine keeps telling me that the length of costs is wrong, but I just use the optimize function above to calculate costs, and the optimize function above are said to have passed the test.

Hi @rdf5skbz8x ,

Please see my reply from previous post. There is no need to post multiple queries for the same problem. You query will be answered.