摘要:
描述The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total n 阅读全文
posted @ 2018-06-10 23:44
昵称真难想
阅读(155)
评论(0)
推荐(0)
摘要:
两排序好的数组,找中位数 描述There are two sorted arrays A and B of size m and n respectively. Find the median of the two sortedarrays. The overall run time complex 阅读全文
posted @ 2018-06-10 15:19
昵称真难想
阅读(196)
评论(0)
推荐(0)
摘要:
(转载) 按位与运算符(&) 参加运算的两个数据,按二进制位进行“与”运算。 运算规则:0&0=0; 0&1=0; 1&0=0; 1&1=1; 即:两位同时为“1”,结果才为“1”,否则为0 例如:3&5 即 0000 0011 & 0000 0101 = 0000 0001 因此,3&5的值得1。 阅读全文
posted @ 2018-06-10 15:01
昵称真难想
阅读(14162)
评论(0)
推荐(1)

浙公网安备 33010602011771号