/reviveStringCodingTest

reviveString calculates all unique possible substrings of the given string $string, sorts them lexigraphically (for a string 'abc': 'a', 'ab', 'abc', 'b', 'bc', ...), concatenates all substrings and returns the $k-th letter (1-indexed).

Primary LanguagePHP

Watchers