GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Search Algorithms

Avni Bhatt Englisch

Inhalt der Mindmap

Search Algorithms

  1. Linear Search

    • Check first value
      • If desired value, stop search
        • If not, move to next value and check
          • Repeat until have checked all elements and not found desired value
            • Line does not have to be in order
  2. Binary Search

    • List needs to be in order
      • Take MIDDLE value
        • Compare to the value you're looking for
          • If reached desired value, stop search
            • If larger than desired value, take values to the left of middle value
              • If smaller than desired value, take values to the right of middle value
                • Repeat with new list
                  • Only works if data is in order

Informationen

Beschreibung
Mindmap am Search Algorithms, erstellt von Avni Bhatt am 04/04/2019.
Erstellt von
Avni Bhatt
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck