DP hackerrank Abbreviation

Jimmy (xiaoke) Shen
1 min readDec 16, 2019

--

Based on the top discussion, I had the code below and got TLE.

Improve by using the index, it still fails and got TLE again.

And the following code works.

--

--

No responses yet