摘要: Shortest PalindromeGiven a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest p... 阅读全文
posted @ 2015-05-23 23:09 `Liok 阅读(592) 评论(0) 推荐(0) 编辑
摘要: Kth Largest Element in an ArrayFind thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the ... 阅读全文
posted @ 2015-05-23 17:47 `Liok 阅读(241) 评论(0) 推荐(0) 编辑