巧用位运算 使用异或来交换两个整数使用左移右移来替代乘以2除以2使用a & (-a)来求最右边的1使用a & (a-1)来清除最右边的1Integer.bitCount(position - 1)来求最右边1的位置索引