摘要:
(This problem is an interactive problem.) You may recall that an array arr is a mountain array if and only if: arr.length >= 3 There exists some i wit 阅读全文
posted @ 2020-04-29 08:54
CNoodle
阅读(248)
评论(0)
推荐(0)
摘要:
Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists 阅读全文
posted @ 2020-04-29 08:43
CNoodle
阅读(185)
评论(0)
推荐(0)
摘要:
Let's call an array arr a mountain if the following properties hold: arr.length >= 3 There exists some i with 0 < i < arr.length - 1 such that: arr[0] 阅读全文
posted @ 2020-04-29 04:29
CNoodle
阅读(178)
评论(0)
推荐(0)