Professional Documents
Culture Documents
store.
Array_arrMARKS[element1][element2]
one by one.
Different
In this search starts with first element and continues until the
Search
Techniques either element is found or end of the list is searched
2.Binary page
Search If they are lucky they would find the item
In binary search the data is split into two half and middle item
value is compared.
Example of
Binary Search
In internal sort sorting takes place in main memory of computer
Bubble Sort
Insertion Sort
Find the minimum value in the list by iterating over whole list
Swap this value with the first value
Repeat these two steps
1.Selection
Sort
Divides the List into two Sub-List.
Reorder the list so that all elements smaller than pivot value
Quick Sort positioned before the pivot value.
Works Repeatedly iterating through a list.
Comparing two elements at a time and swapping them wherever
necessary.
Bubble Sort
Builds final Sorted array (or-list)