Morning Batch Count
Morning Batch Count
EasyStrings0% accepted
Priya manages a yoga studio in Bangalore. She needs to count how many classes are scheduled during morning hours (6 AM - 12 PM) to optimize instructor availability.
Approach
Count yoga classes starting between 06:00 and 11:59 from a comma-separated time list.
Input
06:00,07:30,12:15,14:00
Output
2
More Strings problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards