Mozilla-Campus-Club-Cummins / CompetitiveProgramming-HacktoberFest23

1 stars 25 forks source link

Symmetric Tree #21

Open anu-shka-k opened 8 months ago

anu-shka-k commented 8 months ago

Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center).

Testcases:

Input: root = [1,2,2,3,4,4,3] Output: true

Input: root = [1,2,2,null,3,null,3] Output: false

anu-shka-k commented 8 months ago

Hi @akanksha1131 , I will assign this issue to you. Please resubmit a PR.