Consider following statements:
S1: Rotation operation in AVL always preserves the Inorder ordering.
S2: The median of all elements in AVL tree is always at root or one of its two children.
S3: If every node in BST has either 0 or 2 children,then searching is O(logn)
S4: In a 3 array tree. If number of internal node is 20 then number of Leaves are 41.
True Statements ?
Ans: Only S1 and S4