Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/r12f/leetcode-rs


https://github.com/r12f/leetcode-rs

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# My Leetcode Solution in Rust

> This project is based on (Great project! Saved me a ton of setup time. Please give it star!), but with my own rust code and certain updates, e.g.:
>
> 1. Fixed the problem HTML description to markdown conversion.
> 2. Uses for simpler final code and add more tools for testing.
> 3. A bit different template and removing comments from the demo source code, since they are included in the lcrt lib already.

Run `cargo run` to initialize the template submission file of "question #id".

Run `cargo test test_{id}` to test the solution for "question #id".

## Usage

* Remove all the solution .rs
* Clean lib.rs file
* Start your leetcode journey in rust by typing `cargo run`

## License

Apache-2.0: