You are viewing a single comment's thread. Return to all comments →
One of the Test Cases is: DUDDDUUDUU
Which clearly has only 1 valley but the expected out is 2. Is this mistake or am I missing something?
Seems like cookies are disabled on this browser, please enable them to open this website
Counting Valleys
You are viewing a single comment's thread. Return to all comments →
One of the Test Cases is: DUDDDUUDUU
Which clearly has only 1 valley but the expected out is 2. Is this mistake or am I missing something?