CodingReported in a candidate post, Sep 2019
Longest substring with at most k special characters
Filed under Hike
The question
Given a 26-length array indicating normal or special characters, an input string, and an integer k, find the length of the longest substring containing at most k special characters.
No write-up yet. Related questions below have one.
Related Hike questions
Collected from public candidate posts and coding forums. Updated Nov 2026.