Find the shortest subsequence of a cyclic string S that contains all characters of a pattern k.
Unlock detailed company stats for this questionUpgrade
If s = 'abcdefgh' and k = 'fha', return 'fgha'
Community answers
No answers contributed by the community yet.
Related questions
Find the longest alternating subsequence.Related courses

Course

Course
Course
