Module

x/simplestatistic/src/quickselect.js

simple statistics for node & browser javascript
import * as mod from "https://dotland.deno.dev/x/simplestatistic@v7.7.1/src/quickselect.js";

Functions

Rearrange items in arr so that all items in [left, k] range are the smallest. The k-th element will have the (k - left + 1)-th smallest value in [left, right].