摘要:
[抄题]: Given m arrays, and each array is sorted in ascending order. Now you can pick up two integers from two different arrays (each array picks one) a 阅读全文
posted @ 2018-04-22 22:30
苗妙苗
阅读(135)
评论(0)
推荐(0)
摘要:
[抄题]: Given an array of integers nums, write a method that returns the "pivot" index of this array. We define the pivot index as the index where the s 阅读全文
posted @ 2018-04-22 16:54
苗妙苗
阅读(97)
评论(0)
推荐(0)
摘要:
[抄题]: Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots 阅读全文
posted @ 2018-04-22 15:50
苗妙苗
阅读(142)
评论(0)
推荐(0)
摘要:
[抄题]: Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array wi 阅读全文
posted @ 2018-04-22 09:22
苗妙苗
阅读(110)
评论(0)
推荐(0)
摘要:
[抄题]: In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as m 阅读全文
posted @ 2018-04-22 08:49
苗妙苗
阅读(113)
评论(0)
推荐(0)