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)
I copy and paste the instructions from FreeCodeCamp, then I write the tests and finally I try to resolve the problem.
Download the project locally.
git clone https://github.com/juliencrn/the-algorithm-challenge
cd the-algorithm-challenge
This project needs node
and npm
.
cd typescript
npm i
npm run test
npm run start # Watch mode
This project requires rust
and cargo-watch
.
cd rust
cargo test
cargo watch -x test # Watch mode
src
└── project_euler
├── p001.rs
├── p002.rs
├── p003.rs
└── p004.rs
The tree is generated using exa --tree --git-ignore rust/src
.
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
.