摘要: https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60/ In a list of songs, the i-th song has a duration of time[i] seconds 阅读全文
posted @ 2019-12-26 19:22 丧心病狂工科女 阅读(198) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/x-of-a-kind-in-a-deck-of-cards/ In a deck of cards, each card has an integer written on it. Return true if and only if y 阅读全文
posted @ 2019-12-26 19:17 丧心病狂工科女 阅读(225) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/find-all-duplicates-in-an-array/ Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twic 阅读全文
posted @ 2019-12-26 19:14 丧心病狂工科女 阅读(127) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/jump-game-ii/ Given an array of non-negative integers, you are initially positioned at the first index of the array. Eac 阅读全文
posted @ 2019-12-26 19:11 丧心病狂工科女 阅读(177) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/fibonacci-number/ The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that 阅读全文
posted @ 2019-12-26 19:09 丧心病狂工科女 阅读(170) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/is-subsequence/ Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower 阅读全文
posted @ 2019-12-26 19:08 丧心病狂工科女 阅读(173) 评论(0) 推荐(0) 编辑