Microsoft Interview Question

Two trees equal or not