91热爆

Standard algorithms

Since computers were created, users have devised , many of which have needed to do the same thing. As a result, common have evolved and been adopted in many programs.

Two algorithms often used are searches and sorts:

  • searches allow a set of to be examined and for a specific item to be found
  • sorts allow a data set to be sorted into order

Methods of searching include:

  • linear search
  • binary search

Methods of sorting include:

  • bubble sort
  • merge sort
  • insertion sort