Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/statistics/src/utils/quick_select.ts

Deno basic statistics module.
Latest
import * as statistics from "https://deno.land/x/statistics@v0.1.1/src/utils/quick_select.ts";

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].