摘要: 一、问题描述 Description: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For exampl... 阅读全文
posted @ 2015-05-20 19:20 神奕 阅读(136) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes... 阅读全文
posted @ 2015-05-20 18:09 神奕 阅读(115) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid... 阅读全文
posted @ 2015-05-20 17:48 神奕 阅读(125) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given a linked list, remove the nth node from the end of list and return its head. For example: Given linked li... 阅读全文
posted @ 2015-05-20 13:34 神奕 阅读(167) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: 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 uni... 阅读全文
posted @ 2015-05-20 12:49 神奕 阅读(134) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit ... 阅读全文
posted @ 2015-05-20 11:25 神奕 阅读(154) 评论(0) 推荐(0)