Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
class link
|
||||
declare data
|
||||
declare next
|
||||
end
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
class link
|
||||
declare data
|
||||
declare next
|
||||
|
||||
def link(data, next)
|
||||
this.data = data
|
||||
this.next = next
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1 @@
|
|||
linkedlist = new(link, 1, new(link, 2, new(link, 3, new(link, 4, null))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue