数据结构与算法 - Rust 语言实现

位运算相关的问题列表

简单

  1. 0067. 二进制求和 Add Binary
  2. 0136. 只出现一次的数字 Single Number
  3. 0137. 只出现一次的数字II Single Number II
  4. 0191. 位1的个数 Number of 1 Bits
  5. 0231. 2的幂 Power of Two
  6. 0326. 3的幂 Power of Three
  7. 0338. 比特位计数 Counting Bits
  8. 0342. 4的幂 Power of Four

TODO:

  • 190. Reverse Bits
  • 461. Hamming Distance
  • 693. Binary Number with Alternating Bits
  • 762. Prime Number of Set Bits in Binary Representation
  • 2859. Sum of Values at Indices With K Set Bits
  • 2917. Find the K-or of an Array

中等

  1. 1780. 判断一个数字是否可以表示成三的幂的和 Check if Number is a Sum of Powers of Three

TODO:

  • 29. Divide Two Integers

困难