GL
GrindLens
PatternsSheetsPricingQuestions
  1. Home
  2. /Sheets
  3. /Striver A2Z
  4. /Heap for Top-K / Kth Element
←Back to Striver A2Z
Curated IntersectionSheet: Striver A2ZPattern: Heap for Top-K / Kth Element

Striver A2Z · Heap for Top-K / Kth Element

Maintain a fixed-size heap to track the k largest/smallest/most-frequent elements seen so far.

Sheet Problems: 5
Category: Heap

Featured Problems (5)

1.Merge K Sorted ListsHard
Solve↗
2.Task SchedulerMedium
Solve↗
3.Design TwitterMedium
Solve↗
4.Kth Largest Element in a StreamEasy
Solve↗
5.Top K Frequent ElementsMedium
Solve↗

Explore More Patterns in Striver A2Z

Track your progress across all 243 problems in this curriculum roadmap.

Back to Striver A2ZHeap for Top-K / Kth Element Pattern Guide
GL
GrindLens

Precision pattern analytics and curated sheet tracking for algorithmic coding interview preparation.

Quick lookup:⌘Kor/

Platform

  • Patterns→
  • Sheets→
  • Pricing→

Community

  • Feedback
  • Report a bug
  • X
  • LinkedIn

© 2026 GrindLens. LeetCode is a trademark of LeetCode. GrindLens is an independent analytics platform and is not affiliated with or endorsed by LeetCode.

Terms of ServicePrivacy Policy