LeetCode Trees in Rust
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:
use ; // Importing the library.
// Assigning an empty struct to make a solution impl block.
use ;
Additional features:
-
Singly Linked Lists (example Leet - add two numbers)
-
Macros (for Trees and Linked Lists)
Additional code templating can be found in This template file.
It's located at: solutions/lc0_general_nodes_template/src/main.rs