Count the Mountains
Filed under Mindfire Solutions
The question
Given a string of integers separated by underscores, identify segments that increase then decrease as mountains and count the total number of mountains.
No write-up yet. Related questions below have one.
Related Mindfire Solutions questions
Collected from public candidate posts and coding forums. Updated Nov 2026.