摘要:
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a... 阅读全文
posted @ 2014-11-14 16:59
Phoebe815
阅读(125)
评论(0)
推荐(0)
摘要:
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?Solution:public cla... 阅读全文
posted @ 2014-11-14 16:48
Phoebe815
阅读(134)
评论(0)
推荐(0)
摘要:
The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie... 阅读全文
posted @ 2014-11-14 16:22
Phoebe815
阅读(168)
评论(0)
推荐(0)
摘要:
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv... 阅读全文
posted @ 2014-11-14 12:02
Phoebe815
阅读(141)
评论(0)
推荐(0)

浙公网安备 33010602011771号