Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -7,7 +7,7 @@ public program()
|
|||
var nums := new int[]{1,1,2,3,4,4};
|
||||
auto unique := new Map<int, int>();
|
||||
|
||||
nums.forEach:(n){ unique[n] := n };
|
||||
nums.forEach::(n){ unique[n] := n };
|
||||
|
||||
console.printLine(unique.MapValues.asEnumerable())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import "/sort" for Sort
|
||||
import "./sort" for Sort
|
||||
|
||||
// Using a map - order of distinct items is undefined.
|
||||
var removeDuplicates1 = Fn.new { |a|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue