Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
func insert_after(a,b) {
|
||||
b{:next} = a{:next};
|
||||
a{:next} = b;
|
||||
}
|
||||
|
||||
var B = Hash.new(
|
||||
data => 3,
|
||||
next => nil, # not a circular list
|
||||
);
|
||||
var A = Hash.new(
|
||||
data => 1,
|
||||
next => B,
|
||||
);
|
||||
var C = Hash.new(
|
||||
data => 2,
|
||||
);
|
||||
|
||||
insert_after(A, C);
|
||||
Loading…
Add table
Add a link
Reference in a new issue