Posts

Showing posts from August, 2022

LeetCode Problem : Invert Binary Tree

Image
                 Problem Statement:-  Given the  root  of a binary tree, invert the tree, and return  its root .                 Solution

LeetCode : Symmetric Tree Problem

Image
              Problem statement:- Given the  root  of a binary tree,  check whether it is a mirror of itself  (i.e., symmetric around its center).                           Solution:-