Which of the following statements are correct for a max-heap?a) The root always contains the largest key.b) All keys in the left subtree are always smaller than any key in the corresponding right subtree.c) All leaves are located on the same level.d) Each subtree is also a max-heap.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here