Create max-heap using keys: 21,31,2,4,7,8,9,
Array A contains post-order traversal of the max heap and Array B contain Level order traversal of max heap.
Max absolute difference Z between array A and Array B value having the same index and R is the number of times Z occur. What is Z+R?