mirror of
https://github.com/Noratrieb/datastructures.git
synced 2026-01-14 17:35:02 +01:00
inital commit
This commit is contained in:
commit
69162b5b5a
10 changed files with 72 additions and 0 deletions
1
src/lib.rs
Normal file
1
src/lib.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
pub mod linked_list;
|
||||
9
src/linked_list.rs
Normal file
9
src/linked_list.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
pub struct LinkedList {}
|
||||
|
||||
pub struct Node<T> {
|
||||
value: T,
|
||||
next: *const Node<T>,
|
||||
prev: *const Node<T>,
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue