Giter Club home page Giter Club logo

algorithm's Introduction

The Algorithm Challenge

Tests

I started this repo using Typescript, but now, I want like to practice Rust too. So let's practice the algorithms and data-structures using Typescript and/or Rust! (The exercises are from FreeCodeCamp)

Process

I copy and paste the instructions from FreeCodeCamp, then I write the tests and finally I try to resolve the problem.

Installation

Common

Download the project locally.

git clone https://github.com/juliencrn/the-algorithm-challenge
cd the-algorithm-challenge

Typescript part

This project needs node and npm.

cd typescript
npm i
npm run test
npm run start # Watch mode

Rust part

This project requires rust and cargo-watch.

cd rust
cargo test
cargo watch -x test # Watch mode

Summary

Rust

src
└── project_euler
   ├── p001.rs
   ├── p002.rs
   ├── p003.rs
   └── p004.rs

The tree is generated using exa --tree --git-ignore rust/src.

Typescript

src
├── algorithms
│  ├── basic-sorting
│  │  ├── bubble-sort
│  │  ├── insertion-sort
│  │  ├── merge-sort
│  │  ├── quick-sort
│  │  └── selection-sort
│  ├── find-the-symmetric-difference
│  ├── inventory-update
│  ├── no-repeats-please
│  └── pairwise
└── data-structures
   ├── circular-queue
   ├── priority-queue
   ├── queue
   └── stack

The tree is generated using exa --tree --git-ignore typescript/src -D.

License

MIT

algorithm's People

Watchers

 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.