Sort

Class for sorting arrays containing numerical data.

Sort
Static Members
bubbleSort(array)
insertionSort(array)
mergeSort(array)
quickSort(array)

Arrays

Class for working with arrays of any types

Arrays
Static Members
summarize(array)
chunk(array, size)
flatten(array, result)

ArraysNumerical

Class for working with arrays containing numbers and numerical data.

ArraysNumerical
Static Members
sum(array)
max(array)
min(array)

ArraysObjective

Class for working with arrays containing objects with key/value data.

ArraysObjective
Static Members
groupBy(array, key)
sortBy(array, key, descending)
min(array, key)
max(array, key)
normalizeByKey(array, key, newMin, newMax)
normalizeByKeys(array, keys, newMin, newMax)
normalizeAuto(array, newMin, newMax)
hierarchyFromFlat(array, parentKey, childKey)

Stack

Stack data structure.

Stack
Instance Members
length
push(item)
pop()
peek()
isEmpty()

MockData

Class for creating mock data for algorithm/visualization testing.

MockData
Static Members
range(size)
packData(size)
networkData(size)

Numbers

Class for working with numbers and numerical data.

Numbers
Static Members
randomInt(min, max)
randomFloat(min, max)
normalize(val, min, max)
normalizeToRange(val, minOriginal, maxOriginal, minNew, maxNew)

Strings

Class for working with string data.

Strings
Static Members
checkNull(str)
removeNonPrintable(str)
removeNonPathable(str)
createUniqueID()

StringsCyrillic

Class for working with Cyrillic string data.

StringsCyrillic
Static Members
allWords(str)

StringsLatin

Class for working with Latin string data.

StringsLatin
Static Members
allWords(str)
removeNonAlphaNumeric(str)
removeNonAlpha(str)

Queue

Queue data structure.

Queue