摘要: 问题描述 Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more lette 阅读全文
posted @ 2016-09-07 12:28 健康平安快乐 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 347. Top K Frequent Elements Given a non empty array of integers, return the k most frequent elements. For example, Given [1,1,1,2,2,3] and k = 2, ret 阅读全文
posted @ 2016-09-07 12:23 健康平安快乐 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 215. Kth Largest Element in an Array Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, n 阅读全文
posted @ 2016-09-07 12:21 健康平安快乐 阅读(119) 评论(0) 推荐(0) 编辑