An algorithm is the process of solving a problem in terms of…
Binary Search code
public int binaryS (int val ) {
int low = 0
int high = data.length-1;
while( high>= low) {
int middle = (low+high)/2;
if (val == data[middle]) return middle;
else if (val < data[middle]) high = mddle - 1;
else
low = middle+1;
}
What sorts should you know?
Selection sort and bubble sort code

Complexity: What does Big O notation describe
Describes worst case case run time (function of size n)
Different types of complexities in terms of Big O
What is the complexity of Selection Sort?
Bubble Sort Complexity