Loading Company...
This is a verified interview question from Ceat. Candidates reporting seeing this problem in recent Online Assessments (OAs) and onsite rounds. Mastering "Count Vowels and Consonants" covers key patterns like Strings.
"### Problem Write a program to count the number of vowels and consonants in a given string. Consider only alphabetic characters and ignore case. ### Input A string. ### Output Print the count of vowels and consonants. ### Sample Input: Hello World ### Sample Output: [3, 7]"
Join thousands of developers practicing for Ceat.