---
title: 'Heap (Priority Queue)'
description: 'Collections of Heap (Priority Queue) Problems'
sidebar_position: 35
hide_table_of_contents: true
keywords:
  - leetcode
  - roadmap
  - study plan
  - Heap
  - Priority Queue
---

export const problems = [
  {
    "problemName": "1046 - Last Stone Weight",
    "difficulty": "Easy",
    "leetCodeLink": "https://leetcode.com/problems/last-stone-weight/",
    "solutionLink": "../solutions/1000-1099/last-stone-weight-easy"
  },
  {
    "problemName": "1337 - The K Weakest Rows in a Matrix",
    "difficulty": "Easy",
    "leetCodeLink": "https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix/",
    "solutionLink": "../solutions/1300-1399/the-k-weakest-rows-in-a-matrix-easy"
  },
  {
    "problemName": "0703 - Kth Largest Element in a Stream",
    "difficulty": "Easy",
    "leetCodeLink": "https://leetcode.com/problems/kth-largest-element-in-a-stream/",
    "solutionLink": "../solutions/0700-0799/kth-largest-element-in-a-stream-easy"
  },
  {
    "problemName": "0347 - Top K Frequent Elements",
    "difficulty": "Medium",
    "leetCodeLink": "https://leetcode.com/problems/top-k-frequent-elements/",
    "solutionLink": "../solutions/0300-0399/top-k-frequent-elements-medium"
  },
  {
    "problemName": "0378 - Kth Smallest Element in a Sorted Matrix",
    "difficulty": "Medium",
    "leetCodeLink": "https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/",
    "solutionLink": ""
  },
  {
    "problemName": "0215 - Kth Largest Element in an Array",
    "difficulty": "Medium",
    "leetCodeLink": "https://leetcode.com/problems/kth-largest-element-in-an-array/",
    "solutionLink": "../solutions/0200-0299/kth-largest-element-in-an-array-medium"
  },
  {
    "problemName": "0973 - K Closest Points to Origin",
    "difficulty": "Medium",
    "leetCodeLink": "https://leetcode.com/problems/k-closest-points-to-origin/",
    "solutionLink": "../solutions/0900-0999/k-closest-points-to-origin-medium"
  },
  {
    "problemName": "1642 - Furthest Building You Can Reach",
    "difficulty": "Medium",
    "leetCodeLink": "https://leetcode.com/problems/furthest-building-you-can-reach/",
    "solutionLink": ""
  },
  {
    "problemName": "0295 - Find Median from Data Stream",
    "difficulty": "Hard",
    "leetCodeLink": "https://leetcode.com/problems/find-median-from-data-stream/",
    "solutionLink": "../solutions/0200-0299/find-median-from-data-stream-hard"
  },
  {
    "problemName": "1167 - Minimum Cost to Connect Sticks",
    "difficulty": "Medium",
    "leetCodeLink": "https://leetcode.com/problems/minimum-cost-to-connect-sticks/",
    "solutionLink": ""
  },
  {
    "problemName": "0253 - Meeting Rooms II",
    "difficulty": "Medium",
    "leetCodeLink": "https://leetcode.com/problems/meeting-rooms-ii/",
    "solutionLink": ""
  },
]

<Table 
    title=""
    data={problems}
    collectionLink="https://leetcode.com/list/ee1sb8l6"
/>