10 Days of HackeRank's challenges - Day 5
Problem statement: Counting valleys.
An avid hiker keeps meticulous records of their hikes. During the last hike that took exactly steps steps, for every step it was noted if it was an uphill,U , or a downhill,D step. Hikes always start and end at se...
beri28.hashnode.dev2 min read
Monyuy Divine
Software engineer
Great