摘要:
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)