I took my second exam in Data Structures. There was a question that I could not understand. I recall it was worth 2 points so it should have been straightforward.
It say something similar like: If a binary tree was implemented using an array implementation. In Java A[0] retrieves the first element in the array. How do I retrieve the left and right child?
I did not want to leave the question blank so I wrote A[0.leftchild] and A[0.rightchild].
