题目
题目
单项选择题

Which statement about an AVL tree is correct?

选项
A.It is a BST where the heights of the left and right subtrees of any node differ by at most 1
B.It is any balanced tree
C.It is a BST where every node has at most one child
D.It is a complete binary tree with heap property
查看解析

查看解析

标准答案
Please login to view
思路分析
To begin evaluating the statements about an AVL tree, recall that an AVL tree is a self-balancing binary search tree (BST) that maintains a strict balance condition. Option 1: 'It is a BST where the heights of the left and right subtrees of any node diff......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!