Microsoft interview question

Two trees equal or not