Fresh Beginning
  • Home
  • Speaking
  • Github
  • Buy Me A Coffee
  • Patreon
  • Reading
  • About Me
Subscribe

kth smallest

A collection of 1 post
Implementing Quick Select Algorithm - Finding kth largest/smallest element
quick-select

Implementing Quick Select Algorithm - Finding kth largest/smallest element

Today I am going to write about a special type of algorithm for finding a kth largest or smallest element in the array. This is my favorite data structure question due to intricacy involved in solving the problem. There are many variants of this problem including more efficient using max/
Jun 7, 2020 4 min read
Fresh Beginning © 2023
Powered by Ghost