0226. Invert Binary Tree
Easy | Tree + Recursion / Stack | 16 ms (99.96%), 14 MB (90.10%)
Last updated
Was this helpful?
Easy | Tree + Recursion / Stack | 16 ms (99.96%), 14 MB (90.10%)
Last updated
Was this helpful?
Source: GitHub:
Given the root
of a binary tree, invert the tree, and return its root.