摘要: 剑指 Offer 11. 旋转数组的最小数字 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。 给你一个可能存在 重复 元素值的数组 numbers ,它原来是一个升序排列的数组,并按上述情形进行了一次旋转。请返回旋转数组的最小元素。例如,数组 [3,4,5,1,2] 为 [1,2 阅读全文
posted @ 2023-01-16 18:01 认真游泳的鱼 阅读(10) 评论(0) 推荐(0)
摘要: 1813. Sentence Similarity III A sentence is a list of words that are separated by a single space with no leading or trailing spaces. For example, "Hel 阅读全文
posted @ 2023-01-16 17:23 认真游泳的鱼 阅读(33) 评论(0) 推荐(0)