Codú
‹ Back to feed

// freeCodeCamp · 10 March 2026

How to Find the Top-K Items: Heap and Streaming Approaches in Go

Finding the top K items in a dataset pops up everywhere: from highlighting the hottest posts in a social feed, to detecting the largest transactions in a financial system, or spotting the heaviest use

freeCodeCamp
@freecodecamp · Gabor Koos
www.freecodecamp.org
Read Full Article at www.freecodecamp.org
freeCodeCamp@freecodecamp

Discussion 0

Loading

Got something to say?

or to join the conversation.

Learn to build with AI and grow with people doing the same — it's free.