摘要: Fair Candy Swap Alice and Bob have a different total number of candies. You are given two integer arrays aliceSizes and bobSizes where aliceSizes[i] i 阅读全文
posted @ 2022-11-12 20:53 iyiluo 阅读(27) 评论(0) 推荐(0)
摘要: XOR Operation in an Array You are given an integer n and an integer start. Define an array nums where nums[i] = start + 2 * i (0-indexed) and n == num 阅读全文
posted @ 2022-11-12 20:27 iyiluo 阅读(12) 评论(0) 推荐(0)
摘要: Number of Valid Words in a Sentence A sentence consists of lowercase letters ('a' to 'z'), digits ('0' to '9'), hyphens ('-'), punctuation marks ('!', 阅读全文
posted @ 2022-11-12 13:36 iyiluo 阅读(29) 评论(0) 推荐(0)