Problems
Previous question · 920
Flatten a Multilevel Doubly Linked List
medium
Data Structures
Next question · 922
Balanced Binary Tree
easy
Data Structures
Random coding question
Python
Language
Python
Practice
Interview
AI Tutor
Description
Solution
Discussion
921. Count Vowels
easy
General
entry
Function contract
Inputs
s
str
Returns
value
int
Examples
Example 1
Input
{
"s"
:
"hello"
}
Output
2
Example 2
Input Signature
Argument
Type
s
str
Output Signature
Return Name
Type
value
int
Constraints
Hint 1
Hint 2
Hint 3
Roles
Software Engineer
ML Engineer
Data Engineer
Quantitative Researcher
Research Scientist
Companies
General
Levels
entry
Tags
python
Similar Questions
Custom Sort String
medium
Algorithms
Number of 1 Bits
easy
Algorithms
Letter Case Permutation
medium
Algorithms
46 people
are solving this problem
Run
Submit
00:00
Loading editor for the selected language
Ln 1, Col 1
Program Output
DATA
INTERVIEW
Interactive coding terminal
Python environment ready.
Type a command below or run code from the editor.
run script
Execute the current editor contents
submit
Grade the current editor contents against all solution test cases
python ("print hello world")
Run an isolated Python command
help
Show all available commands
>>>