摘要: https://leetcode.com/problems/word-break/Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence o... 阅读全文
posted @ 2015-05-06 18:38 打小孩 阅读(142) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/add-binary/Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100". 1 imp... 阅读全文
posted @ 2015-05-06 01:18 打小孩 阅读(141) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/length-of-last-word/Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the leng... 阅读全文
posted @ 2015-05-06 00:42 打小孩 阅读(142) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/climbing-stairs/You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 ... 阅读全文
posted @ 2015-05-06 00:17 打小孩 阅读(175) 评论(0) 推荐(0) 编辑