Salesforce Interview Question

write a program for height of a binary tree using arrays!!