Problems > Strong Enough Password > Editorial

Strong Enough Password — Solution & Editorial

Back to the Problem

Test the three character-class flags in one pass plus the length.

Complexity: O(|S|)