Skip to main content
- Last updated
Save as PDF
- To represent one set of values using another set of values, by constructing a mapping between them.
- class variable:
- A variable declared within a class as
static. There is only one copy of a class variable, no matter how many objects there are.
- sequential search:
- An algorithm that searches array elements, one by one, until a target value is found.
- binary search:
- An algorithm that searches a sorted array by starting in the middle, comparing and element to the target, and eliminating half of the remaining elements.