Question: What is the parent for a node ‘w’ of a complete binary tree in an array representation when w is not 0?

Options

A : floor(w-1/2)

B : ceil(w-1/2)

C : w-1/2

D : w/2

Click to view Correct Answer

Previous || Next

Data Structure Binary Trees Array more questions

Pyramids are the best example of ___________

What is the movement of water away from the shore....

The commercial method which combines the effect of vibration with....

_________________ area of a building is the area of verandahs,....

Which of the following traps is commonly known as nahni....

Which of the following is not an element of triple....

B in the figure represents ______________

Which of the following is not a magnetic disk?

CD-ROM refers to __________

Open system is also called a _______ system.

Data Structure Adjacency List more Online Exam Quiz

Data Structure Balanced Partition

Data Structure Binary Heap

Data Structure Binary Search Iterative

Data Structure Binary Search Tree

Data Structure Binary Tree Properties

Data Structure Binary Trees Linked Lists

Data Structure Binomial Fibonacci Heap

Data Structure Bit Array

Data Structure Breadth First Search

Data Structure Bubble Sort