Count substrings matching a numeric rank pattern
Filed under Media.net
The question
Given a numeric rank pattern and a character string, determine the number of substrings of pattern length that follow the relative rank pattern, where characters are ranked based on their ASCII values.
No write-up yet. Related questions below have one.
Related Media.net questions
Collected from public candidate posts and coding forums. Updated Nov 2026.