lionelsamrat10 / LeetCode-Solutions

Contains the solutions of all the problems, I am solving on Leetcode.
https://github.com/lionelsamrat10/LeetCode-Solutions
MIT License
2 stars 1 forks source link

Add solutions of leetcode problems #3

Closed lionelsamrat10 closed 2 years ago

lionelsamrat10 commented 2 years ago

Try to add solutions in any of your preferred languages. And Do not forget to add the Time and Space Complexity of your solution.

ManasBhilare commented 2 years ago

i would love to work on it! but which problem we should? or we should select any one of them and submit?

lionelsamrat10 commented 2 years ago

@Manas146 You can choose any problem from LeetCode that is not already in this repository and you can submit a PR.

ManasBhilare commented 2 years ago

@lionelsamrat10 Thanks for such a wonderful opportunity.

lionelsamrat10 commented 2 years ago

Welcome, buddy @Manas146!! Share this repo with your friends so that they can also contribute and you can also contribute whenever you have some good solutions!! Happy LeetCoding xD

ManasBhilare commented 2 years ago

yea sure @lionelsamrat10 Thanks :) Can i contribute more here?

lionelsamrat10 commented 2 years ago

Of course @Manas146. But make sure you are following the way I use to organize my files. Suppose you are creating a solution for finding a key in a BST, then organize your file path like the following:

BST/Find a key in a BST/Solution.java or Solution.py and also mention the Problem number which you are solving. Once have a look at how the files are organized in the repo and commit accordingly!!

I will definitely merge your PR if everything is up to the mark.

And you can make as many contributions as you want!!

Thanks :)

ManasBhilare commented 2 years ago

@lionelsamrat10 should it be the same way I did my previous PR?

lionelsamrat10 commented 2 years ago

All good in that, but instead of 0014 only, mention like 14. Longest Common Prefix It will be better then.

ManasBhilare commented 2 years ago

okay sure!

Prathambarve commented 2 years ago

I would like to add some problems of stacks.I have seen that there are very less problems of this topic.Can I get assigned?

lionelsamrat10 commented 2 years ago

@Prathambarve I have assigned you. Start working !!

Divi2701 commented 2 years ago

Hey! I would like to add some problems from Leetcode. Can you please assign me this?

lionelsamrat10 commented 2 years ago

Assigned @Divi2701

anuragnewbie commented 2 years ago

Hi @lionelsamrat10 ! I am participating in hacktoberfest 2021 and I want to contribute to this issue by adding a leetcode practice problem that I have solved "finding maximum consecutive 1s in an array". I can also add CodeChef competition solutions problems that I have solved during the competition. Can you please assign this issue to me?

anuragnewbie commented 2 years ago

thank you so much @lionelsamrat10 :-)

lionelsamrat10 commented 2 years ago

Welcome @anuragnewbie

anuragnewbie commented 2 years ago

Welcome @anuragnewbie

Hey @lionelsamrat10 ... As you have given me permission I can also add my CodeChef contest solutions but this repo is mainly on leetcode problems so should I create a new folder and then add there my codechef solutions?

lionelsamrat10 commented 2 years ago

No @anuragnewbie It's only for Leetcode Problems

anuragnewbie commented 2 years ago

okay @lionelsamrat10 then I will add a leetcode practice problem that I have solved "finding maximum consecutive 1s in an array".

lionelsamrat10 commented 2 years ago

Yes you can add as many leetcode problems you want

anuragnewbie commented 2 years ago

Yes you can add as many leetcode problems you want

okay @lionelsamrat10 ... :-)

anuragnewbie commented 2 years ago

hi @lionelsamrat10 I just wanted to say that thank u for giving me this opportunity and sorry I have unassigned myself from this issue as I am tried a couple of times to fork and clone this repo and even tried to download it but either it is showing me this error or it is automatically removing the file "785. Is graph bipartite?". image

lionelsamrat10 commented 2 years ago

You can try to do this via Github itself instead of using Git CLI

anuragnewbie commented 2 years ago

You can try to do this via Github itself instead of using Git CLI

okay I am trying again @lionelsamrat10

anuragnewbie commented 2 years ago

hey @lionelsamrat10 can u please re-assign me to this issue? I want to try again please.

lionelsamrat10 commented 2 years ago

Assigned you @anuragnewbie

anuragnewbie commented 2 years ago

Assigned you @anuragnewbie

thank u so much @lionelsamrat10 :-)

anuragnewbie commented 2 years ago

Hi @lionelsamrat10 . I have tried a lot of times but I am downloading a zip file of my forked copy of your repo and after downloading I found that one file "Graph/Is graph bipartite?" is automatically getting deleted. I really don't have any idea regarding this. I think I will not get the chance to contribute to your repo. :-( Anyways, thanks for assigning me twice to this issue. :-)

lionelsamrat10 commented 2 years ago

No worries mate!!

Karthiks08 commented 2 years ago

I want to work on this issue and improve my coding skills

I am currently preparing for my intern preparations and it would help me a lot , please do the needful and assign me this problem

Please assign me @omkarnayak @lionelsamrat10 @shubhamshettyy @kushal13112001 @viraj-v1112

anuragnewbie commented 2 years ago

No worries mate!!

I have tried my best but maybe my luck didn't favour @lionelsamrat10 . 😯🙂