Generates all permutations of an array's elements (contains duplicates).
Snippets - Page 2 of 2
Browse by topic
Sorts an array of numbers, using the quicksort algorithm.
Implementation of the Luhn Algorithm used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, National Provider Identifier numbers etc.
Sorts an array of numbers, using the selection sort algorithm.