Code Monkey home page Code Monkey logo

algoritmos's Introduction

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.

algoritmos's People

Contributors

andres-fuentes-encora avatar dayrachiu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.