Skip to content

tan-wei/leetcode-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Leetcode Solution in Rust

NOTE: The original repository is great! Thanks the author and contributors of it!

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

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

Working in progress, to do:

  • auto generation of solution list (when 100 problems solved)

Usage

  • Remove all the solution .rs
  • Clean lib.rs file
  • Start your leetcode journey in rust by typing cargo run and then input the question id
  • To solve a problem (we should start the problem first), input solve {question_id}
  • To passby cloudflare, please cp .env.smaple .env, and set LEETCODE_COOKIE with your cookie (could be find in Firefox or Chrome console)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages