Data Structures and Algorithms > sorting > Flashcards
What is the minimum height of a (full) binary tree that has X leaf nodes?
⌊log X⌋
Stirling’s approximation
log n! ≈ n log n − n + O(logn)
best (fastest) sorting algorithm in practice
quick sort