摘要: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 题解:二进制字符串相加 public String addBinary(String 阅读全文
posted @ 2015-09-23 22:15 lzyer 阅读(202) 评论(0) 推荐(0)
摘要: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F 阅读全文
posted @ 2015-09-23 09:28 lzyer 阅读(121) 评论(0) 推荐(0)