上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 33 下一页
摘要: Minimum Index Sum of Two Lists Given two arrays of strings list1 and list2, find the common strings with the least index sum. A common string is a str 阅读全文
posted @ 2022-10-26 18:52 iyiluo 阅读(26) 评论(0) 推荐(0)
摘要: Number Complement The complement of an integer is the integer you get when you flip all the 0's to 1's and all the 1's to 0's in its binary representa 阅读全文
posted @ 2022-10-26 18:52 iyiluo 阅读(18) 评论(0) 推荐(0)
摘要: Decompress Run-length Encoded List We are given a list nums of integers representing a list compressed with run-length encoding. Consider each adjacen 阅读全文
posted @ 2022-10-26 18:52 iyiluo 阅读(16) 评论(0) 推荐(0)
摘要: NimGame You are playing the following Nim Game with your friend: Initially, there is a heap of stones on the table. You and your friend will alternate 阅读全文
posted @ 2022-10-26 18:51 iyiluo 阅读(15) 评论(0) 推荐(0)
摘要: Self Dividing Numbers A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number beca 阅读全文
posted @ 2022-10-26 18:51 iyiluo 阅读(19) 评论(0) 推荐(0)
摘要: Is Subsequence Given two strings s and t, return true if s is a subsequence of t, or false otherwise. A subsequence of a string is a new string that i 阅读全文
posted @ 2022-10-26 18:50 iyiluo 阅读(18) 评论(0) 推荐(0)
摘要: Make Array Zero by Subtracting Equal Amounts You are given a non-negative integer array nums. In one operation, you must: Choose a positive integer x 阅读全文
posted @ 2022-10-25 21:44 iyiluo 阅读(24) 评论(0) 推荐(0)
摘要: Find Closest Number To Zero Given an integer array nums of size n, return the number with the value closest to 0 in nums. If there are multiple answer 阅读全文
posted @ 2022-10-25 20:30 iyiluo 阅读(23) 评论(0) 推荐(0)
摘要: Summary Ranges You are given a sorted unique integer array nums. A range [a,b] is the set of all integers from a to b (inclusive). Return the smallest 阅读全文
posted @ 2022-10-25 20:17 iyiluo 阅读(17) 评论(0) 推荐(0)
摘要: Counting Bits Given an integer n, return an array ans of length n + 1 such that for each i (0 <= i <= n), ans[i] is the number of 1's in the binary re 阅读全文
posted @ 2022-10-25 18:36 iyiluo 阅读(29) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 33 下一页