String Compression II (Leetcode hard)

Revision en1, by lil_ninja, 2020-11-11 18:37:08

I'm facing a problem with the approach to this problem. Also, can't figure out the edge cases for why the greedy solution does not work. Please explain or suggest some resources to solve it.

String Compression II

Tags #strings, #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English lil_ninja 2020-11-11 18:37:08 309 Initial revision (published)