Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact

Array

A collection of 1 post

Interview Questions, Selection Algorithm, Find kth Max, Find kth Min, Array, QuickSort

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

  • Jayesh Kawli
6 min read
Fresh Beginning © 2021
Latest Posts Ghost