摘要: Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example:Given a = 1 and b = 2, return 3. 阅读全文
posted @ 2016-11-01 06:34 amazingzoe 阅读(105) 评论(0) 推荐(0)
摘要: Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] inclu 阅读全文
posted @ 2016-11-01 06:20 amazingzoe 阅读(524) 评论(1) 推荐(0)