2016年4月16日
摘要: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font 阅读全文
posted @ 2016-04-16 17:29 baiyuhong 阅读(152) 评论(0) 推荐(0)
摘要: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 我的思路是: 1,先将两个string的长度设置为一样大小,小的进行左边补零。 2, 阅读全文
posted @ 2016-04-16 15:39 baiyuhong 阅读(170) 评论(0) 推荐(0)