3 releases
0.1.1 | Mar 13, 2021 |
---|---|
0.1.1-a | Mar 16, 2021 |
0.1.0 | Jan 14, 2021 |
#1168 in Data structures
43KB
938 lines
Dsa_Sport
this crate is not intended to be used as a library for any of the application. this crate only serves some basic concept related to data structure.
Usage
use dsa_sport::datastruct::list_struct::LinkedList;
let mut list = LinkedList::new();
list.add_node(1);
list.add_node(2);
list.add_node(3);
assert_eq!(format!("{:?}",list), format!("1 -> 2 -> 3 -> x"));
assert_eq!(list.len(), 3);
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
lib.rs
:
datastruct
Crate crate
is not intended to be used as a library for any of
the application. this crate only serves some basic concept related to data structure.