摘要: 原题链接在这里:http://www.lintcode.com/en/problem/triangle-count/# 题目: Given an array of integers, how many three numbers can be found in the array, so that 阅读全文
posted @ 2017-02-03 14:27 Dylan_Java_NYC 阅读(491) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/sort-characters-by-frequency/ 题目: Given a string, sort it in decreasing order based on the frequency of characte 阅读全文
posted @ 2017-02-03 09:07 Dylan_Java_NYC 阅读(423) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/top-k-frequent-elements/ 题目: Given a non-empty array of integers, return the k most frequent elements. For examp 阅读全文
posted @ 2017-02-03 08:51 Dylan_Java_NYC 阅读(400) 评论(0) 推荐(0)