Time Complexities of Data Structures and Algorithms

13 flashcardsby johnny
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
List
O(1)
2
Heap
O(Log(n)) for max heap

O(1) for min heap
3
BST
O(n)
4
AVL
O(log(n))
5
Splay
O(n)
6
Stack
O(1)
7
Queue
O(1)
8
merge sorrt
O(nlogn)
9
binary search
O(logn)
10
Insertion Sort
O(n^2)
11
selection sort
O(n^2)
12
Kruskals
ElogV
13
graph
dense - n^2
sparse - n
Study all 13 cards for free

More Computer science flashcards

Sagemaker Bedrock52 cardsComputer science · Englishnathancsds 344 fial44 cardsComputer science · EnglishSydneyManuelYu Part 1-9 Theories38 cardsComputer science · EnglishDiandreiChapter 4: Processor Fundamentals32 cardsComputer science · English—Griffith—1.3.2 DATABASES25 cardsComputer science · EnglishSabs2023Comp Sci Unit 5/6 Vocab 20 cardsComputer science · EnglishHCh 2 Databases15 cardsComputer science · Englishjocyt9SYO-601 Log files10 cardsComputer science · Englishr3lykNetwork Security: NAT and PAT237 cardsComputer science · EnglishDiandreiInformation and Communication Technology (ICT)113 cardsComputer science · EnglishPatrickIT Troubleshooting and RAID77 cardsComputer science · EnglishpzxliComputer System Security66 cardsComputer science · Englishgabriele

All Computer science decks

Study these decks in the app

Free on iPhone, Android, Mac and the web. Add any deck to your account in one tap.

Download on the App StoreGet it on Google Play
Study all 13 cards for free