摘要:
题目内容 Write a function that takes an unsigned integer and return the number of '1' bits it has (also known as the Hamming weight). Example: 分析过程 题目归类: 阅读全文
摘要:
题目内容 Reverse bits of a given 32 bits unsigned integer. Example: 分析过程 题目归类: 2进制 题目分析: 对于2进制需要了解补码反码左移右移逻辑右移和算术右移等操作。 todo 各种码分析 边界分析: 空值分析 循环边界分析 需要了解到 阅读全文