Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sum of Left Leaves #70

Open
soniadessai opened this issue Sep 30, 2023 · 3 comments
Open

Sum of Left Leaves #70

soniadessai opened this issue Sep 30, 2023 · 3 comments

Comments

@soniadessai
Copy link
Collaborator

Write code in the preferred language and attach output with it.

Given the root of a binary tree, return the sum of all left leaves.

A leaf is a node with no children. A left leaf is a leaf that is the left child of another node.

Example 1:

image

Input: root = [3,9,20,null,null,15,7]
Output: 24
Explanation: There are two left leaves in the binary tree, with values 9 and 15 respectively.

Example 2:

Input: root = [1]
Output: 0

@deepak74620
Copy link

Hey @Sonia312 please assign this to me.

@K-Saniya
Copy link

K-Saniya commented Oct 8, 2023

Hello @Gdsc-Cummins !! I am Saniya from Cummins college in 2nd year computer department . I am interested in working on this issue. please assign it to me .thanks!

@srushtikage
Copy link
Contributor

Hello
Please assign this issue to me I want to work on it.
Srushti Kage
UCE2022531
Cummins College of Engineering for Women
Second Year

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment