Solution to leetcode daily challenges in rust.
Clone cargo-leet repo and update location in Cargo.toml dependencies.
git clone https://github.com/rust-practice/cargo-leet
To pull challenge code snippets (if slug is emit daily challenge is generated):
cargo leet generate $slugTo run a challenge:
cargo leet test- what should be the value of slug?
- If the URL of challenge is: https://leetcode.com/problems/dota2-senate/
- Then the slug is dota2-senate
- Note: ignore description in case of https://leetcode.com/problems/dota2-senate/description/
 
- If the URL of challenge is: