本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss
摘要: 题目链接Given two binary strings, return their sum (also a binary string).For example, a = "11" b = "1" Return "100".分析:简单的处理二进制求和和进位即可 本文地址class So... 阅读全文
posted @ 2013-12-15 15:22 tenos 阅读(586) 评论(0) 推荐(0) 编辑
摘要: 题目链接Validate if a given string is numeric.Some examples: "0" => true " 0.1 " => true "abc" => false "1 a" => false "2e10" => true 本文地址Note... 阅读全文
posted @ 2013-12-15 15:18 tenos 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: 题目链接Given a number represented as an array of digits, plus one to the number分析:too simple 本文地址class Solution {public: vector plusOne(vector &digits... 阅读全文
posted @ 2013-12-15 14:58 tenos 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 题目链接Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.You s... 阅读全文
posted @ 2013-12-15 14:51 tenos 阅读(1951) 评论(0) 推荐(0) 编辑

本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss

公益页面-寻找遗失儿童