StackOverflow Questions for Tag: quickselect

Sihal Fernando
Sihal Fernando

Reputation: 29

What's the most efficient way to find the k-th smallest element in an unsorted array?

Score: 2

Views: 67

Answers: 1

Read More
Rando Coder
Rando Coder

Reputation: 83

Issue implementing Hoare's algorithm in Typescript

Score: 0

Views: 36

Answers: 0

Read More
Miguel
Miguel

Reputation: 924

Algorithm: Quick select not returning right answer

Score: 1

Views: 69

Answers: 1

Read More
Mexus94
Mexus94

Reputation: 13

Quick Select Algorithm

Score: 0

Views: 2234

Answers: 2

Read More
Alan
Alan

Reputation: 469

Why this quick select algorithm doesn't work always

Score: 0

Views: 217

Answers: 1

Read More
user18512699
user18512699

Reputation: 11

OutOfMemoryError when trying to find the largest kth element in a large array

Score: 1

Views: 68

Answers: 1

Read More
Nati Shen-Gordon
Nati Shen-Gordon

Reputation: 35

Divide an array into 2 subarray considering keys and weights

Score: 1

Views: 75

Answers: 0

Read More
Sam
Sam

Reputation: 1

Median of medians algorithm: why divide the array into blocks of size 5 what if we divide into group of 4 is this effect time complexity

Score: 0

Views: 64

Answers: 0

Read More
Anil Bishnoi
Anil Bishnoi

Reputation: 24

I'm trying to implement quickselect by partitioning the array, but it constantly produces wrong answers. Where am I committing a mistake?

Score: -1

Views: 108

Answers: 1

Read More
Eliram Liroy Lugassi
Eliram Liroy Lugassi

Reputation: 41

quickSort algorithm using median of medians as a pivot for partitioning

Score: 1

Views: 754

Answers: 1

Read More
Edge
Edge

Reputation: 2540

QuickSelect Algorithm Understanding

Score: 32

Views: 62316

Answers: 6

Read More
userx
userx

Reputation: 3753

Write a program to find 100 largest numbers out of an array of 1 billion numbers

Score: 312

Views: 72337

Answers: 33

Read More
AndW
AndW

Reputation: 846

How to translate from Lomuto Partitioning scheme to Hoare's Partition scheme in QuickSelect/QuickSort?

Score: 0

Views: 232

Answers: 1

Read More
bashstash
bashstash

Reputation: 33

How to calculate median of an unsorted frequency table in O(n)?

Score: 1

Views: 168

Answers: 1

Read More
beginnergrammer
beginnergrammer

Reputation: 7

bug in qselect mips assembly program

Score: 0

Views: 151

Answers: 1

Read More

Quickselect algorithm condition

Score: 0

Views: 202

Answers: 0

Read More
anmol065
anmol065

Reputation: 41

Finding kth smallest element in array using QuickSelect. Why we should substract L(leftmost index) from POS(position of random partition)?

Score: 0

Views: 153

Answers: 0

Read More
user6412004
user6412004

Reputation:

How to transform quicksort to quickselect?

Score: 0

Views: 77

Answers: 0

Read More
Fionnuala
Fionnuala

Reputation: 19

Calls value not incrementing as intended

Score: 0

Views: 18

Answers: 1

Read More
saurav
saurav

Reputation: 9

Time complexity of quickselect algorithm

Score: 0

Views: 299

Answers: 1

Read More
PreviousPage 1Next