摘要: 题目: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must clo... 阅读全文
posted @ 2016-04-16 22:47 Jung_zhang 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = ... 阅读全文
posted @ 2016-04-16 14:33 Jung_zhang 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the a... 阅读全文
posted @ 2016-04-16 00:00 Jung_zhang 阅读(113) 评论(0) 推荐(0) 编辑