Similar Password (Singapore)

Asked at PayPal · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

A password detection system for HackerRank accounts detects a password as similar if the number of vowels is equal to the number of consonants in the password.

Loading the problem…