LeetCode Trees in Rust
Description
This library is made to make any LeetCoders using Rust have a better experience
at solving their LeetCode (LC) problems. It uses cargo make
to have
reproducible sub-modules (check leetcode-trees-rs/solutions/README.md
) as
well as implementing the definition of the binary trees on LC.
Quick start on using the library:
For TreeNode
values (Binary Trees)
use ;
// Assigning an empty struct to make a solution impl block.
use ;
For ListNode
values (Singly Linked Lists)
use ;
// Assigning an empty struct to make a solution impl block.
use ;
LICENSE
The project is licensed under the MIT license.
Extra notes
Additional code templating can be found in This template file.
It's located at: solutions/lc0_general_nodes_template/src/main.rs
Additional documentation can be found in docs.rs.