ADP interview question

Write a function that checks if two binary trees are identical.