1/80
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
O(n^1.2)
The search time in a TRIE structure DOES NOT depend on the number of elements in that tree?
TRUE
O(N) ; it can be improved to O(log n).
The optimistic time complexity of searching in a BST is O(log h(T))
FALSE
There isn’t a sorting algorithm with pessimistic complexity better than O(nlog(n))
FALSE
θ(i) i to pozycja na której chcemy wpisać
Zależy od wyboru współczynnika podziału k:
k = 1 : O(n^2)
k = (2^i) - 1 : O(n^1.2)
k = (2^r) * (2^q) , q,r są naturalne : O(n log^2 n)
Czy B drzewa są idealnie zbalansowane?
TAK
Wzór na minimalną liczbę węzłów w B-Tree
(2th+1)/(t-1)
Wzór na maksymalną liczbę węzłów w B-Tree
((2t)h+1-1)/(2t-1)
Wzór na minimalną liczbę kluczy w B-Tree
2th-1
Wzór na maksymalną liczbę węzłów w B-Tree
(2t)h+1-1