摘要: 1. permutation-sequence 顺序排列第k个序列 The set[1,2,3,…,n]contains a total of n! unique permutations. By listing and labeling all of the permutations in ord 阅读全文
posted @ 2016-03-29 21:48 zxqstrong 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1). two-sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices 阅读全文
posted @ 2016-03-29 17:34 zxqstrong 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For e 阅读全文
posted @ 2016-03-29 17:13 zxqstrong 阅读(206) 评论(0) 推荐(0) 编辑