📅  最后修改于: 2022-03-11 15:04:23.583000             🧑  作者: Mango
// counting valleys hackerrank solution javascript
function countingValleys(steps, path) {
// Write your code here
let count = 0;
let altitude = 0;
for(let i=0; i