/leetcode

Rust code for LeetCode

Primary LanguageRust

LeetCode Solution in Rust

How to run?

For now use Rust 1.43.0 stable.

Every problem has test, so just run

  cargo test

to test all simple case for solutions.

Project structure

Project use IDEA plugin LeetCode editor and all solution code is under leetcode::leetcode::editor::en and reused to leetcode.

It has a global struct Solution and all solution entry is implemented in it.