摘要: Add Binary Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". https://leetcode.com/problems/a 阅读全文
posted @ 2015-05-17 21:22 `Liok 阅读(637) 评论(0) 推荐(0) 编辑
摘要: Valid ParenthesesGiven a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must clos... 阅读全文
posted @ 2015-05-17 16:44 `Liok 阅读(667) 评论(0) 推荐(0) 编辑
摘要: Remove Nth Node From End of ListGiven a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2... 阅读全文
posted @ 2015-05-17 16:28 `Liok 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents yo... 阅读全文
posted @ 2015-05-17 11:34 `Liok 阅读(511) 评论(0) 推荐(0) 编辑