dheeraj-2000 / dsalgo

Contains Algorithms useful for interview preparation, various practice problems of Arrays, Stacks, queue etc. Contributors are Welcome but, DO NOT MAKE THIS REPO ACT LIKE A SOURCE OF +1.
84 stars 381 forks source link

Add Algorithm that you find useful for Interview Preparations #1

Closed dheeraj-2000 closed 3 years ago

dheeraj-2000 commented 4 years ago

Please make sure the algorithm you're contributing is not already present in the repo.

smdp2000 commented 4 years ago

Hey @dheeraj-2000 i would like to add code to find Longest Common Subsequence using DP

dheeraj-2000 commented 4 years ago

Okay go ahead. Assigned #1 to @smdp2000

smdp2000 commented 4 years ago

checkout my pr #2

smdp2000 commented 4 years ago

checkout my pr #3

yogesh-kansal commented 3 years ago

i want to work on it issue,pleae assign it to me.

ag278 commented 3 years ago

@dheeraj-2000 I would like to work on this issue .Please assign this to me

dheeraj-2000 commented 3 years ago

@ag278 you can send a PR.

reethu-annjo commented 3 years ago

I would like to make contributions here:)

dheeraj-2000 commented 3 years ago

@reethu-annjo checkout READAME of this repo and start contributing.

rohanmahto592 commented 3 years ago

hey, can I add Kadane algorithm and Moore voting algorithm

dheeraj-2000 commented 3 years ago

@rohanmahto592 Yes, Put it in Algorithms folder.

rahulpathak-github commented 3 years ago

@dheeraj-2000 Please let me know if I should proceed to add,

  1. Algorithm to invert a binary tree
  2. Algorithm to find the largest subtree sum in a binary tree
dheeraj-2000 commented 3 years ago

@rahulpathak-github Yes, put them in _dsalgo/Binarytree/ folder. Please mention Time and Space Complexities, also adding some description would be more appreciable.

rohanmahto592 commented 3 years ago

Already done, but u have'nt merged it.

On Fri, 9 Oct 2020, 8:46 pm Dheeraj Chaudhary, notifications@github.com wrote:

@rahulpathak-github https://github.com/rahulpathak-github Yes, put them in dsalgo/Binary_tree/ folder. Please mention Time and Space Complexities, also adding some description would be more appreciable.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dheeraj-2000/dsalgo/issues/1#issuecomment-706241318, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJMRAP3N7YIJA5WRKDTIW3SJ4SMTANCNFSM4I6BWNAA .

ABHAY2000 commented 3 years ago

hey, Can I add CPU Scheduling Algorithm like FCFS, SJF, Priority, etc. in C language ?

dheeraj-2000 commented 3 years ago

@ABHAY2000 yes, you can create a new folder as OS Algorithms or CPU Scheduling Algorithms in the repo, and put your algorithms in that.

taneemishere commented 3 years ago

Can I add the Stacks Implementation into this repository?

dheeraj-2000 commented 3 years ago

@taneemishere Yes, but put it in the right folder (if implemented using array then put in Arrays folder, or if its using linkedlist then put in Linked_List folder)

ABHAY2000 commented 3 years ago

@dheeraj-2000 Done with OS Algorithms. I have uploaded this folder in Algorithms folder.

taneemishere commented 3 years ago

@dheeraj-2000 Okay I'll do it.

ankita413 commented 3 years ago

Hey @dheeraj-2000 I want to add algorithms for top view,bottom view,left view,righ view and diagonal traversal of Binary tree. ALso I want to add implementation of trie data structure. Pls assign me this. Thankyou

dheeraj-2000 commented 3 years ago

@ankita413 checkout the guildlines, write the algorithms and send a PR

ankita413 commented 3 years ago

Ok,Sure

Rac-Ro007 commented 3 years ago

@dheeraj-2000 , I want to add File Allocation methods of Operating System. Will it be valuable and should i proceed with it??

dheeraj-2000 commented 3 years ago

@Rac-Ro007 yeah you can contribute, put that at right position in Algorthms folder

ankita413 commented 3 years ago

hey @dheeraj-2000 i am trying to push my files to my branch and commit but its giving the following error
Screenshot (72)

dheeraj-2000 commented 3 years ago

Hey @ankita413 as you're pushing from a new branch, so probably your branch is not set-up for remote push, hence you're gettig this error Please try to set-up dev_ankita branch and then push your changes.

ankita413 commented 3 years ago

Screenshot (73)

@dheeraj-2000 well i tried but it doen't seem to work. Can u please share the steps on how to do the entire process. Thanks in advance

dheeraj-2000 commented 3 years ago

Hey @ankita413 please ping me on LinkedIn.

lkbhitesh07 commented 3 years ago

Hey, @dheeraj-2000 Just want to ask, I'm planning to upload some important questions to prepare for big tech companies independent of languages. So what I'm planning is to simply upload that list of questions and below that making subfolder according to which you can find a solution. As I've solved some questions as I'll solve it I'll add the solutions. What do you say? Also please suggest on #138 or approve it. This is the first time I'm contributing after a long time so please do give your views.

dheeraj-2000 commented 3 years ago

@lkbhitesh07 Sure, make a new folder as Interview Preparation and do your contribution in that.