摘要: Find thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.For exampl... 阅读全文
posted @ 2015-05-24 21:29 匡子语 阅读(195) 评论(0) 推荐(0)
摘要: Given a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrome you can f... 阅读全文
posted @ 2015-05-24 20:49 匡子语 阅读(198) 评论(0) 推荐(0)