bogosort: Bogosort function

Description Usage Arguments Value Author(s) Examples

View source: R/sort_functions.R

Description

Sorting a numeric vector with bogosort algorithm.

Usage

1

Arguments

a

Numeric vector to be sorted

Value

Numeric vector

Author(s)

Maciej Bak, wsciekly.maciek@gmail.com

Examples

1
bogosort(c(1,2,4,3))

AngryMaciek/badsoRts documentation built on Sept. 23, 2020, 7:36 a.m.