NEC Corporation interview question

questions on buffer memory..and balanced binary tree