sukritishah15 / DS-Algo-Point

This repository contains codes for various data structures and algorithms in C, C++, Java, Python, C#, Go, JavaScript, PHP, Kotlin and Scala
MIT License
952 stars 291 forks source link

Height of a Binary Tree #229

Open unnatideshwal opened 3 years ago

unnatideshwal commented 3 years ago

🚀 Feature

The function should return a single integer denoting the height of the binary tree. For example, the following binary tree is of height 2 : 22

Have you read the Contribution Guidelines?

Yes

Pitch

It is an easy data structures problem based on trees to start with.

Assignees

@nikhil121101 - Java @prophet-x - C++ @Nancey12 - Python @GarimaMahajan20 - C

nikhil121101 commented 3 years ago

please assign this issue to me, I would be glad to contribute;)

kamalmulani commented 3 years ago

hey! I would like to do this in c++ . please assign it to me.

unnatideshwal commented 3 years ago

please assign this issue to me, I would be glad to contribute;)

Please specify any language preferences too.

nikhil121101 commented 3 years ago

java would be fine?

Suhani028 commented 3 years ago

Please assign me to contribute in JAVA!!

manas-malviya commented 3 years ago

I would like to solve this problem by using C++. Please assign it to me. I would also like to contribute.

manan025 commented 3 years ago

Hey @unnatideshwal , You can't assign this way! C++ was already taken by @prophet-x

kamalmulani commented 3 years ago

hello @unnatideshwal I guess you didn't notice two users want to contribute in JAVA and two in C++, but according to the guidelines it says only one contributor can contribute in one language.

unnatideshwal commented 3 years ago

oh okay, sorry for the mistake please wait, ill assign again.

kamalmulani commented 3 years ago

oh okay, sorry for the mistake please wait, ill assign again.

no worries :) bro

nikhil121101 commented 3 years ago

it ok

Nancey12 commented 3 years ago

I can contribute in Python. Please assign me that.

manan025 commented 3 years ago

CLARIFICATION: @nikhil121101 - Java @prophet-x - C++ @Nancey12 - Python

GarimaMahajan20 commented 3 years ago

Assign this to me in c

manan025 commented 3 years ago

@GarimaMahajan20 - C Assigned

nikhil121101 commented 3 years ago

hey i have to create function in implemetatingBST.java right?

manan025 commented 3 years ago

Yes and also add link to your code in Java/README.md

nikhil121101 commented 3 years ago

sure thanks

nikhil121101 commented 3 years ago

hey I am done but I am getting this while pushing(git push origin 229) remote: Permission to sukritishah15/DS-Algo-Point.git denied to nikhil121101. fatal: unable to access 'https://github.com/sukritishah15/DS-Algo-Point.git/': The requested URL returned error: 403

manas-malviya commented 3 years ago

hey I am done but I am getting this while pushing(git push origin 229) remote: Permission to sukritishah15/DS-Algo-Point.git denied to nikhil121101. fatal: unable to access 'https://github.com/sukritishah15/DS-Algo-Point.git/': The requested URL returned error: 403

maybe this could help https://www.a2hosting.in/kb/developer-corner/version-control-systems1/403-forbidden-error-message-when-you-try-to-push-to-a-github-repository

manan025 commented 3 years ago

@nikhil121101 first you need to create a forked repo of this repo and then make changes to that repo and make a Pull request here! In case, you have any issues, feel free to ask question!

nikhil121101 commented 3 years ago

hey i forked the repo and created a new branch and made changes there do I need to merge this branch to master branch and then make a pull request?