Greenplum interview question

create sibling pointers in a complete binary tree