add() Method Syntax
arrayList.add(element);
or arrayList.add(index, element);
get() Method Syntax
arrayList.get(index);
set() Method Syntax
arrayList.set(index, element);
remove() Method Syntax
arrayList.remove(index);
Sequential Search
A searching algorithm that looks for a target element by checking each element from the beginning until the target is found or the end is reached.
Selection Sort
A sorting algorithm that divides the array into a sorted and unsorted region and repeatedly selects the minimum from the unsorted region to add to the sorted region.
Insertion Sort
A sorting algorithm that builds a sorted section of the array by incrementally inserting elements from the unsorted section into their correct position.