Hamothy
5db90abf63
Merge pull request #5 from nyxkrage/impr-ci
2 years ago
Hamothy
a0abfe6194
Merge pull request #4 from nyxkrage/issue/2
2 years ago
Carsten Kragelund
797a47cd18
FIX(CI): Only run CI on source and .toml changes
...
There is no need to rerun CI if only the README has changed
2 years ago
Carsten Kragelund
fdf7d1c8cf
FIX(docs, tests): Fix empty doctests, and add docs
...
* Adds documentation to the `bst!` macro
* Changes the tree visualizations from `rust` blocks to just `text`, so
that `cargo doc` does not complain
* Runs `cargo fmt`
2 years ago
Carsten Kragelund
63a3190084
FEAT(macro): Add bst! macro that act like vec!
...
This macro uses the `IterativeBST` to create a new
tree with the given elements, either creating just
and empty tree with `IterativeBST::new()` or using
a combination of `IterativeBST::from_iter()` and
`vec![]` if given any elements
2 years ago
Hamothy
f85b449e66
Merge pull request #3 from nassersaazi/main
...
Improve documentation
3 years ago
nassersaazi
31553316de
Improve documentation
...
This change aims to improve on the grammar in the comments.
I also adjusted the Personal Goals link in the README
to match the order in the detailed section.
These are not very critical changes. As a newbie to Rust,the goal
for me here is to get familiar with the project as I find
it particularly interesting :)
3 years ago
sgoudham
3d813fc6c0
Fix typo
3 years ago
sgoudham
fda95e225b
Update crate description
3 years ago
sgoudham
1920054778
Tidy up Cargo.toml
3 years ago
sgoudham
92b4208956
Add shield badges
3 years ago
sgoudham
6f152b30c3
Update file paths
3 years ago
sgoudham
032ee9db8b
Update script permissions
3 years ago
sgoudham
c3b38a5255
Move Scripts Folder
3 years ago
sgoudham
9b08bb77b3
Add GitHub actions
3 years ago
sgoudham
320ed87204
Update with categories and exclude section
3 years ago
sgoudham
36ebf3e962
Make text bold
3 years ago
sgoudham
87759c28d1
Update docs
3 years ago
sgoudham
036f978878
Move node into its own file
3 years ago
sgoudham
1f78b48662
Update documentation
3 years ago
sgoudham
65aff4e5fd
Update documentation
3 years ago
sgoudham
08cfb9458b
Update documentation
3 years ago
sgoudham
83497ee6b1
Add docs for all methods
3 years ago
sgoudham
ab75f4f031
Reformat tests
3 years ago
sgoudham
7d0e4f20e9
Implement into_asc_order_iter()
3 years ago
sgoudham
f874c41237
Rename sorted_order() to asc_order() & add documentation
3 years ago
sgoudham
cba48bb1da
Update documentation
3 years ago
sgoudham
99d91a6248
Add more documentation
3 years ago
sgoudham
a85ff90e27
Add height() documentation
3 years ago
sgoudham
a8074b0f02
WIP add documentation & rework height() to count edges
3 years ago
sgoudham
6ee6044168
WIP add documentation
3 years ago
sgoudham
0c53a1c460
Fix doc test
3 years ago
sgoudham
d491bc4d8e
Remove unused import
3 years ago
sgoudham
3440901bb7
Add unsafe recursive level order traversal
3 years ago
sgoudham
e96bdbebbf
Implement height() and WIP level order traversal
3 years ago
sgoudham
06307105e0
Use iterative_remove_min()
3 years ago
sgoudham
a10915ff80
Fix typo
3 years ago
sgoudham
c68a0a5b6f
Add CONTRIBUTING.md & Update README.md
3 years ago
sgoudham
63d451eebd
Update recursive_bst tests
3 years ago
sgoudham
316d04a7f2
Add function is_not_empty() for increased readability
3 years ago
sgoudham
1a6af483f6
Start adding documentation
3 years ago
sgoudham
7ce3762ee9
Remove lib name
3 years ago
sgoudham
d7f1222c29
Change test names
3 years ago
sgoudham
9699802a8f
WIP iterative_consume_post_order_vec() + add some docs
3 years ago
sgoudham
1c935bc4f3
WIP iterative_consume_post_order_vec()
3 years ago
sgoudham
1e40b9f7d5
Implement iterative_consume_in_order_vec()
3 years ago
sgoudham
81aafcad77
Rename empty() to new()
3 years ago
sgoudham
bac301ad3a
WIP Iterative implementation of BST
3 years ago
sgoudham
97e81f8620
WIP Iterative implementation of BST
3 years ago
sgoudham
6572ba88d1
Move tests into test folder
3 years ago