Need help to solve this problem from CSES problemset.

Revision en1, by padfoot1717, 2020-09-01 11:43:00

I am stucked at the problem Shortest subsequence. Can someone kindly explain an optimal algorithm to solve this problem?

Tags cses

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English padfoot1717 2020-09-01 11:43:00 214 Initial revision (published)