mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-04-01 10:01:43 +08:00
* Check if a number is a power of 2 This representation may be easier to understand for some people. If a number is power of two then `AND` operation between the number and its complement will result into the same number. * Update binary.md Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>