KonkurStudy
همه کارت‌ها

AVL Trees: Balance Factor and Rotations

An AVL tree keeps every node's left/right subtree heights within 1; after an insert or delete, a single or double rotation at the lowest unbalanced node restores the invariant in O(log n).

کارت مفهوم کنکور ارشد علوم کامپیوتر