Skip to content

Nearsoft/algoritmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github Repo

This repository was created with the goal of creating a library of solutions for known algorithm challenges in a variety fo languages. It will also serve as a training guide for encorians and externals.

How to contribute to the repo?

Adding a new challenge

First a folder with the known name of the challenge will be created. Inside that folder a file Statement.md should be created containing:

  • Statmenet of the problem.

  • An example of the input and the desired output.

  • A hint if any.

  • A link, if any, to an online platform like LeetCode, HackerRank, etc...

Example: Min swaps 2 > Statement.md

Adding a new solution to a challenge

At the same level as the file Statement.md a folder with the name of a programming language should be created. Inside that language folder a file should be created with a nickname and a solution suffix separated by an underscore. It will be nice if the name is added as a comment so we known to whom discuss a solution and learn more. Example: Min swaps 2> Java > HappyPanda-solution.java

The solution

It would be nice if each solution has comments on the more confusing bits. Also adding the complexity to unknown methos, like push in javascript, abs, all this to finally state the complexity of your solution, by doing so it can help you to get more familiar to these kind of complexity questions.

[Example git : https://github.com/Nearsoft/algoritmos/tree/main/Squares%20of%20a%20Sorted%20Array]

All the submissions should be trough a pull request to the master branch.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published