Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Algorithms #1

Open
5 of 12 tasks
captainAyan opened this issue Nov 14, 2021 · 2 comments
Open
5 of 12 tasks

Add Algorithms #1

captainAyan opened this issue Nov 14, 2021 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@captainAyan
Copy link
Owner

captainAyan commented Nov 14, 2021

Implement these algorithms

Follow these rules

  • Searching
    • Linear search
    • Binary search
    • Depth first search
    • Breath first search
  • Sorting
    • Insertion sort
    • Heap sort
    • Merge sort
    • Selection sort
    • Quick sort
    • Counting sort
@captainAyan captainAyan added good first issue Good for newcomers help wanted Extra attention is needed labels Nov 14, 2021
@darkling10
Copy link
Contributor

I am also learning javascript and I think I can help you

@captainAyan
Copy link
Owner Author

Welcome Aboard Mate 🎉.

  • Implement the aforementioned algorithms in their individual files.
  • Create a algorithms folder for the files.
  • Use camel-case 🐫 for naming the files. E.g. linearSearch.js, heapSort.js
  • Do not use dependencies.
  • Use Conventional Commit standard.
    • Here is the VS Code extension link
    • Commit message examples
      • New Feature - feat: ✨ added [algorithm name] algorithm.
      • Fix Bug - fix: 🐛 fixed [description of bug]
  • Add a comment to the top of the file with the name of the algorithm, and some helpful resources (or resources that you've used) for that algorithm. Use this file as an example.
  • Write comments to describe what you're doing.
  • Add an inline comment to show the output of an console.log statement. E.g. console.log(p); // Output: [ 'val1' ]
  • Run npm run pretty to prettify the code. (make sure that you have dev dependencies installed)

😅 I think that's all you need to know in order to get started. Message me on discord at CaptainAyan#5716 for any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants