Module

x/simplestatistics/src/quickselect.js

simple statistics for node & browser javascript
Latest
import * as mod from "https://dotland.deno.dev/x/simplestatistics@v7.8.3/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].