Whatfix Interview Question

Write and trace a program to compare two tree data structures?