摘要: Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-neg 阅读全文
posted @ 2016-04-17 20:30 周洋 阅读(405) 评论(0) 推荐(0) 编辑
摘要: STL中的string有6个查找函数: 1.find() 2.rfind() 从最后一个字符开始往前找。 3.find_first_of() 4.find_not_first_of() 5.find_last_of() 6.find_not_last_of() 所有这些查找函数返回值都是size_t 阅读全文
posted @ 2016-04-17 16:25 周洋 阅读(662) 评论(0) 推荐(0) 编辑
摘要: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 简单的二进制高精度加法。 阅读全文
posted @ 2016-04-17 15:20 周洋 阅读(207) 评论(0) 推荐(0) 编辑