bla bla bla
\nWe may assume that no string in A is substring of another string in A.\n\nRead this carefully, or face TLE.\nWhat this means is that, cost of adding current s
```\nWe may assume that no string in A is substring of another string in A.\n```\nRead this carefully, or face TLE.\nWhat this means is that, cost of adding current string only depend on previous string added not whole sequence. i.e previous path doesn\'t matter, only last city matters.
[]