ByteByteGo logo
menuProblems List

Invert Binary Tree

Easy

Invert a binary tree and return its root. When a binary tree is inverted, it becomes the mirror image of itself.

Example:

You can practice coding exercises online by logging into bytebytego.com on your laptop.