Think about the data movements needed in a vector representation of a binary tree.