摘要: 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 will be 阅读全文
posted @ 2018-03-26 22:30 还是说得清点吧 阅读(108) 评论(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 - they 阅读全文
posted @ 2018-03-26 21:56 还是说得清点吧 阅读(148) 评论(0) 推荐(0)