Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -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())
}

View file

@ -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|