Validate password length
Filed under EPAM
The question
Given a string representing a password, determine if the password is valid based on whether its character length is between 20 and 40 characters inclusive.
No write-up yet. Related questions below have one.
Related EPAM questions
Collected from public candidate posts and coding forums. Updated Nov 2026.