Published On Jul 30, 2022
Problem: https://leetcode.com/problems/invert-...
This video is an explanation of two optimal O(n) run-time solutions for LeetCode problem 226 - Invert Binary Tree. One is a recursive solution while the other is an iterative solution.
Timestamps:
00:00 - Recursive Solution Explanation
01:48 - Recursive Solution Code
07:34 - Iterative Solution
show more