Sorting & Searching Algorithms Flashcards
1
Q
Tell me…
What searching algorithm does not need sorting?
A
Linear
2
Q
Tell me…
What searching algorithm cuts the number of possible options in half every iteraition?
A
Binary
3
Q
Tell me…
What type of algorithm always solve the problem in a single pass?
A
Constant
4
Q
Tell me…
What type of algorithm will directly scale with the number of items in we have in the list?
A
Linear