It cost O(nlogn) to build a AVL Tree and O(n) to build a binary heap using sink-based heap construction