摘要: Write a function that takes an unsigned integer and returns the number of '1' bits it has (also known as the Hamming weight). Note: Note that in some 阅读全文
posted @ 2019-10-15 23:48 CNoodle 阅读(463) 评论(0) 推荐(0)
摘要: Given an array nums containing n distinct numbers in the range [0, n], return the only number in the range that is missing from the array. Example 1: 阅读全文
posted @ 2019-10-15 23:13 CNoodle 阅读(200) 评论(0) 推荐(0)