Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
|
|
@ -1,5 +1,6 @@
|
|||
type
|
||||
import std/strutils # for join
|
||||
|
||||
type
|
||||
Node[T] = ref object
|
||||
next: Node[T]
|
||||
data: T
|
||||
|
|
@ -44,4 +45,4 @@ var list: SinglyLinkedList[int]
|
|||
|
||||
for i in 1..5: list.append(i)
|
||||
for i in 6..10: list.prepend(i)
|
||||
echo "List: ", list
|
||||
echo "List: ", $list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue