Monday, November 23, 2020

Release 0.3 - PR 2

 Dear PC readers:


Welcome back to my blog!


So PR 1 if you remember was on Telescope. Hence, this one had to be in the open source community. Yet again, I tried to do something different. I did not go and look out for the issues that were my forte like Web development or coding in that matter. I am learning DS algos in one of my other courses taught by Ms.Cathy Leung and I know I am gonna need this in my interviews soon. So I tried to use that and nurture my skills with DSA in this PR. We recently are learning many algorithms in the course including the tree algorithms. Also, another fact, that I am also going out of my way to learn a new language like Python which I am also taking this semester and move away from traditional C++ background of BSD. 

That is why, I tried my hands on this PR which needed to implement algorithms in various languages. I could have chosen the languages that I am well versed with like C++, JS, Java etc. But I chose Python to try something new like this course. So yeah, I started going through the issues of this repository: 

https://github.com/aniketsharma00411/algorithmsUse

I chose to add algorithms in Python language and for Binary trees that I am very new at. As usual, I commented on the issue to work on this, the owner replied positively and asked to read the contributing.md first. 

 https://github.com/aniketsharma00411/algorithmsUse/issues/1

I did that and bodied well with the rules and regulations. I, then,added one algorithm called balanced binary tree check. But then I thought, since this is a release 0.3 PR , lets add two algorithms instead of one to make the PR bigger. So I added one more called level order traversal. It was not easy, I for sure ran into many small stupid errors, but eventually I figured them out and finished this PR.

 But then again, I can never ever commit and push without the struggle. I always forget to fork and then only clone. It denied me the access and threw me error after pushing. Then I forked it , cloned it, and added original repo as the remote and synced them and then did the usual add-commit-push. Voila! Success this time. Thankfully!

So you can find my PR here: https://github.com/aniketsharma00411/algorithmsUse/pull/182

Thanks for reading my blog!

See you in the next one. Ta -da!

Best,

PC

No comments:

Post a Comment

Lab 9 - The last chronicle

 Hey PC readers,  Welcome back to my channel! As the name says, this is our last lab of this semester Lab 9. In the last tale of the lighten...