Codes();

Zoom out : CTRTL -

Zoom in : CTRTL +

Array

Create array before performing algorithms.

Elements are seperated by commas.

array([elements])

Unsorted array.

array([34,21,5,1,23,10,4])

Sorted array.

array([10,14,34,55,76,87,96,101,145,155,167])

Traverse the array.

traverse()

Linear search on array.

search(item)

Binary search on array.

BinarySearch(item)

Insert value in array.

insertAt(value , index)

Sort array using Selectiong Sort technique.

SelectionSort()

Sort array using Bubble Sort (sinking sort) technique.

BubbleSort()

Sort array using Insertion Sort technique.

InsertionSort()

Sort array using Quick Sort (partition-exchange sort) technique.

QuickSort()

Sort array using Merge Sort technique.

MergeSort()

Sort array using Heap Sort technique.

HeapSort()