941. Valid Mountain Array

时间:2020-07-15 01:34:09   收藏:0   阅读:67

Given an array A of integers, return true if and only if it is a valid mountain array.

Recall that A is a mountain array if and only if:

原文:https://www.cnblogs.com/whatyouthink/p/13302877.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!