Crack this google interview question using javascript. Valid mountain array problem
There's a very good problem on leetcode, about valid mountain array.
Problem is:
Given an array of integers arr, return true if and only if it is a valid mountain array.
Recall that arr is a mountain array if and only if:
arr.length >= 3
There exists...
harshvats.hashnode.dev2 min read