SarthakKeshari / Java-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
46 stars 95 forks source link

Counting Full Nodes in a Binary Tree #415

Open aarzoopundir opened 2 years ago

aarzoopundir commented 2 years ago

Issue Id you have worked upon -

351

Briefly explain your program logic -

Full Nodes are the ones whose left and right child are not null. The idea is to traverse the tree in postorder. If the current node is full, we increment result by 1 and add returned values of left and right subtrees.

Screenshots(Attach 2 screenshots of your own input and output) -

Screenshot (122) Screenshot (121)


Checklist:

Eg - If your code follow the below guidelines. Kindly change [] to [x]

All the conditions should be fulfilled for considering your code for merging -

SarthakKeshari commented 2 years ago

@aarzoopundir, Kindly create an issue first and then PR. And follow the PR template and contribution guidelines. I am not closing this PR since this was your first time. You may refer CONTRIBUTING.md(present in the repository) and create an issue(iff program has not been done in repositories probable folders).

If above given lines follow, then kindly create an issue now and claim it. I will assign it to you.

SarthakKeshari commented 2 years ago

@aarzoopundir, Kindly follow the guidelines. This is the last warning.

aarzoopundir commented 2 years ago

What is the mistake now?

On Wed, 13 Oct 2021, 7:49 pm SarthakKeshari, @.***> wrote:

@aarzoopundir https://github.com/aarzoopundir, Kindly follow the guidelines. This is the last warning.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SarthakKeshari/Java-Questions-and-Solutions/pull/415#issuecomment-942355678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJOJDHIZCNCVEZG77GLSCTUGWIOXANCNFSM5F4GQ5LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

SarthakKeshari commented 2 years ago

@aarzoopundir, PR template is not filled properly. Kindly go through other PRs to get a clear idea

aarzoopundir commented 2 years ago

I don't know what is the issue id..can u pls tell

On Wed, 13 Oct 2021, 8:00 pm SarthakKeshari, @.***> wrote:

@aarzoopundir https://github.com/aarzoopundir, PR template is not filled properly. Kindly go through other PRs to get a clear idea

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SarthakKeshari/Java-Questions-and-Solutions/pull/415#issuecomment-942366606, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJOJDGCYOU6QP33IXAR2BLUGWJZ3ANCNFSM5F4GQ5LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

aarzoopundir commented 2 years ago

I've done the required changes .. please see through it.

On Wed, 13 Oct 2021, 9:48 pm aarzoo Pundir, @.***> wrote:

I don't know what is the issue id..can u pls tell

On Wed, 13 Oct 2021, 8:00 pm SarthakKeshari, @.***> wrote:

@aarzoopundir https://github.com/aarzoopundir, PR template is not filled properly. Kindly go through other PRs to get a clear idea

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SarthakKeshari/Java-Questions-and-Solutions/pull/415#issuecomment-942366606, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJOJDGCYOU6QP33IXAR2BLUGWJZ3ANCNFSM5F4GQ5LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

SarthakKeshari commented 2 years ago

@aarzoopundir, You haven't filled the Issue ID, Screenshots section and checklist. Kindly go through other PRs to see how other contributors are doing it.

aarzoopundir commented 2 years ago

Pls see ..I've done these changes

On Thu, 14 Oct 2021, 12:22 am SarthakKeshari, @.***> wrote:

@aarzoopundir https://github.com/aarzoopundir, You haven't filled the Issue ID, Screenshots section and checklist. Kindly go through other PRs to see how other contributors are doing it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SarthakKeshari/Java-Questions-and-Solutions/pull/415#issuecomment-942616827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJOJDA2SUKDUQXF3L2V66DUGXINFANCNFSM5F4GQ5LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

SarthakKeshari commented 2 years ago

@aarzoopundir, Nothing has been updated