Back to marketplace

2.3.1 algorithms

No description yet. This curated deck is ready for daily study.

Total cards: 12•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (12)

#1
Front (Question)

what is worst case average case and best case for a linear search

Back (Answer)

O(n) O(n), O(1)

#2
Front (Question)

what is worst case average case and best case for a Binary search

Back (Answer)

O(log(n)) O(log(n)) O(1)

#3
Front (Question)

what is worst case average case and best case for a binary search tree

Back (Answer)

O(n), O(log(n)), O(1)

#4
Front (Question)

what is worst case average case and best case for searching a hash table

Back (Answer)

O(n) O(1) O(1)

#5
Front (Question)

what is worst case average case and best case for a breadth/depth of a graph

Back (Answer)

O(v^2) O(V+E) O(1)

#6
Front (Question)

what is worst case average case and best case for a bubble sort

Back (Answer)

O(n^2) O(n^2) O(n)

#7
Front (Question)

what is worst case average case and best case for a insertion sort

Back (Answer)

O(n^2) O(n^2) O(n)

#8
Front (Question)

what is worst case average case and best case for a Merge sort

Back (Answer)

O(nlog(n)) O(nlog(n)) O(nlog(n))

#9
Front (Question)

what is worst case average case and best case for quick sort

Back (Answer)

O(n*log(n)) O(nlog(n)) O(n^2)

#10
Front (Question)

what is the space complexity of merge sort

Back (Answer)

O(n) (because it has to make temporary arays with a sieze proportional to the main array)

#11
Front (Question)

what is the space complexity of quick sort

Back (Answer)

O(log(n)) (dont have to know but makes log(n) recursive calls and makes an array of fixed size each recursive call)

#12
Front (Question)

what is the space complexity of bubble and insertion sort

Back (Answer)

O(1)