Libraryless. Click here for Pure Java version (2861L/18K).
svoid test_intersectMultipleSortedCollectionsI() { Random random = repeatableRandomizer(); repeat 1000 { LL<Int> l = repF(3, () -> asList(randomSortedIntArray(10, random))); L<Int> result = sorted(foldl_noSeed intersectSets(l)); print(l); assertEqualsVerbose(result, asList(intersectMultipleSortedCollectionsI(l))); } }
Began life as a copy of #1029033
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029047 |
Snippet name: | test_intersectMultipleSortedCollectionsI (OK) |
Eternal ID of this version: | #1029047/4 |
Text MD5: | cd6b7c7cf05a89b494ed719f30508106 |
Transpilation MD5: | 2b5e2d1ff19620208dcf4c772498c869 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-17 17:13:43 |
Source code size: | 356 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 182 / 283 |
Version history: | 3 change(s) |
Referenced in: | [show references] |