Rosetta Problems

Substring of Sorted String

https://atcoder.jp/contests/abc285/tasks/abc285_f