DP hackerrank Abbreviation
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.
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.