Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

QuickSort

A collection of 1 post
Interview Questions

Magic of Quickselect/Selection algorithm

Recently I came across an interesting interview question. To find the kth largest or smallest element in the given array. Please remember that array is unsorted. The problem becomes cakewalk if array is sorted. In its simplest form, if an array a of size n is already sorted, you can
Jun 13, 2017 6 min read
Fresh Beginning © 2025
Powered by Ghost