• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/12

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

12 Cards in this Set

  • Front
  • Back
Big O of Insertion Sort
n^2
Big O of Merge Sort
n log n
Big O of bubble sort
n^2
Big O of quick sort
n log n
Big O of Linear Search
n
Big O of binary search
log (n)
How does Binary Search Work?
A sorted list compares a key value to the middle of the array (or new subarray) over and over
How does quick sort work?
Pick a pivot and recursively pick more pivots sorting things in to lists less than and grater than the pivot
How does Merge Sort work?
Breaks list up to pieces, rebuilds in to bigger and bigger matrices by comparing the first element of every smaller matrix to one another and inserting them in to bigger and bigger matrices
How does bubble sort work?
compares across bubbles and pushes back
How does Insertion Sort Work?
Pulls values out of a list and compares the values less than it to the values greater than it, inserting it between those values
How does Linear Search work?
moves through list one by one in order