OJ
Ctrlk
  • Introduction
  • Some Tips
  • strStr and Coding Style
  • Binary Search
  • Binary Tree & Divide Conquer
  • Dynamic Programming I
  • Dynamic Programming II
  • Linked List
  • Array & Numbers
  • Heap
    • Merge k Sorted Arrays
    • Heapify
    • 1046. Last Stone Weight
    • Merge k Sorted Lists
    • Ugly Number
    • 373. Find K Pairs with Smallest Sums
    • 1439. Find the Kth Smallest Sum of a Matrix With Sorted Rows
    • 857. Minimum Cost to Hire K Workers
    • 选出出现频率最高的K个
      • Top K Frequent Words
      • Sort Characters By Frequency
      • 347. Top K Frequent Elements
    • Design Twitter
    • Median of K Sorted Array
    • 239. Sliding Window Maximum
    • 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
    • 1705. Maximum Number of Eaten Apples
    • 1425. Constrained Subsequence Sum
  • Hash
  • Multiple Pointers
  • Stack
  • Breadth-first Search
  • Bit Manipulation
  • Math
  • Trie
  • Graph
  • Union Find
  • Exhaustive Search
  • String
  • Greedy
  • Design
  • Queue
Powered by GitBook
On this page
  1. Heap

选出出现频率最高的K个

Top K Frequent WordsSort Characters By Frequency347. Top K Frequent Elements
Previous857. Minimum Cost to Hire K WorkersNextTop K Frequent Words

Last updated 6 years ago

Was this helpful?

Was this helpful?