---
title: "Discussion on \"LeetCode 347: Top K Frequent Elements — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 347: Top K Frequent Elements — Step-by-Step Visual Trace\". Given an array of integers and a number k, return the k most frequently occurring elements in the array."
url: "https://hashnode.com/posts/top-k-frequent-elements-visualization/69d7d2a7b3157a36ebc026f6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 347: Top K Frequent Elements — Step-by-Step Visual Trace](https://blog.tracelit.dev/top-k-frequent-elements-visualization?utm_source=hashnode&utm_medium=feed)

Given an array of integers and a number k, return the k most frequently occurring elements in the array.

Apr 9 · 1 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

  
[View profile](https://hashnode.com/@tracelit)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
