https://dailyjavaconcept.com/validate-a-mountain-array/
Validate a Mountain Array