摘要: 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. 参考: http://bl 阅读全文
posted @ 2016-10-08 23:58 Pickle 阅读(1172) 评论(0) 推荐(0) 编辑
摘要: Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 阅读全文
posted @ 2016-10-08 23:51 Pickle 阅读(143) 评论(0) 推荐(0) 编辑