# LeetCode-Javascript **Repository Path**: lzxjack/leet-code-javascript ## Basic Information - **Project Name**: LeetCode-Javascript - **Description**: 自己写的JavaScript版leetcode做题记录。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2021-06-04 - **Last Updated**: 2022-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1. 对于二进制数 n: `n = n & (n - 1) `可以去掉 n 最右边的一个 1 2. 判断奇偶 `n&1`二进制二进制末尾:`1`奇数,`0`偶数 3. 取反 `n^1`