In this repository you will see a collection of my dsa and cp solutions implemented in Rust 🦀
This repository includes a shell script new_problem.sh to easily create new problem files and add them to Cargo.toml:
./new_problem.sh <platform> <number> <name>Example:
./new_problem.sh leetcode 000 "problem name"When cloning this repository:
- Linux/macOS users can use the script directly
- Windows users should run the script through WSL2
The script will:
- Create a new Rust file with a basic template
- Add the appropriate entry to Cargo.toml
- Set up the directory structure if needed