Complete the getSmallestAndLargest function in the editor below. // 'smallest' must be the lexicographically smallest substring of length 'k' // 'largest' must be the lexicographically largest ...
For example, ball < cat, dog < dorm, Happy < happy, Zoo < ball. A substring of a string is a contiguous block of characters in the string. For example, the substrings of abc are a, b, c, ab, bc, and ...
Некоторые результаты скрыты, так как они могут быть недоступны для вас.
Показать недоступные результаты