← ALL NOTES
Tree

101. Symmetric Tree

A tree is symmetric when its left and right subtrees mirror each other. Two trees mirror when their roots match and — the twist — one's left mirrors the other's right, and one's right mirrors the…

Loading…