Hacktoberfest-2021-Data-Structures-and-Algorithms
Hacktoberfest-2021-Data-Structures-and-Algorithms copied to clipboard
Added Python solution for Leetcode problem 226. Invert Binary Tree
Hi, I've added my solution for the Leetcode Easy problem 226. Invert Binary Tree. My PR is for the contributions mentioned in #154.
Link to the problem: https://leetcode.com/problems/invert-binary-tree/ I've also mentioned the time and space complexity (with explanation) of my solution.
This time I tried an easy problem. I will try working on more medium and hard problems going forward.
Please do let me know if there are any changes needed, in my pull request.
Thanks.