摘要: 原题链接在这里:https://leetcode.com/problems/check-if-a-number-is-majority-element-in-a-sorted-array/ 题目: Given an array nums sorted in non-decreasing order, 阅读全文
posted @ 2019-12-21 10:48 Dylan_Java_NYC 阅读(859) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/peak-index-in-a-mountain-array/ 题目: Let's call an array A a mountain if the following properties hold: A.length 阅读全文
posted @ 2019-12-21 09:43 Dylan_Java_NYC 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/smallest-common-region/ 题目: You are given some lists of regions where the first region of each list includes all 阅读全文
posted @ 2019-12-21 09:25 Dylan_Java_NYC 阅读(1094) 评论(0) 推荐(0) 编辑