做算法题一些高效的写法 1. 判断偶数:number & 1 == 0 (number & 0x1)判断奇数number & 1 == 1 2.int mid = (low+high)>>1; 3.用左移(<<)右移(>>)代替乘2除2