Searches and sorts APCSA

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

flashcard set

Earn XP

Description and Tags

w

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

Big O selection sort

n2s

2
New cards

Big O insertion sort

n2i

3
New cards

Big O bubble sort

n2b

4
New cards

Big O merge sort

nLogn

5
New cards

Big O linear search

n

6
New cards

Big o binary search

logn

7
New cards

binary search

only works if sorted; splits the middle

8
New cards

linear search

works through list checking for target value

9
New cards

selection sort

runs through the whole list and stores the smallest value; then takes the smallest value and sends it to the front of the list.

10
New cards

insertion sort

considers the first value the sorted part of the array, and then checks the value behind it to see if it is greater or less than the value. if greater, it moves on to the next index. if less, it is moved in front of the initial value

11
New cards

Bubble sort

bubbles up

12
New cards

Merge sort

merge sort