Calculates the greatest common divisor between two or more numbers/arrays.
Sorts an array of numbers, using the insertion sort algorithm.
Calculates the date of `n` days from the given date, returning its string representation.
Adds a class to an HTML element.
Calculates the date of `n` minutes from the given date, returning its string representation.
Sorts an array of numbers, using the bucket sort algorithm.
Encrypts or decrypts a given string using the Caesar cipher.
Finds all the indexes of a substring in a given string
Classifies a data point relative to a labelled data set, using the k-nearest neighbors algorithm.
Groups the given data into `k` clusters, using the k-means clustering algorithm.