McqMate
| Q. |
If binary trees are represented in arrays, what formula can be used to locate a left child, if the node has an index i? |
| A. | 2i+1 |
| B. | 2i+2 |
| C. | 2i |
| D. | 4i |
| Answer» A. 2i+1 | |
View all MCQs in
Data Structures (DS)No comments yet