Trough index in a Valley array

Related Tags

Trough index in a Valley array - Coding Problem | K5kC