Step - 1, Start at the middle item in the list. , Step - 2, If the middle item is the one to be found, the search is complete., Step - 3, If the item to be found is lower than the middle item, discard all items to the right., Step - 4, If the item to be found is higher than the middle item, discard all items to the left., Step - 5, Repeat from step 2 until you have found the item or there are no more items in the list., Step - 6, If the item has been found, output item data. If it has not, output “not found.”.

Classifica

Stile di visualizzazione

Opzioni

Cambia modello

)
Ripristinare il titolo salvato automaticamente: ?