Libraryless. Click here for Pure Java version (2817L/19K/64K).
!7 p-tt { S input = loadSnippet(#1008462); MultiSet<Char> histogram = charsHistogram(input); //psl(histogram); psl(multiSetToMapPopularFirst(histogram)); checkPair(input, '<', '>'); } svoid checkPair(S input, char a, char b) { print("Checking " + quoteChar(a) + " " + quoteChar(b)); L<S> strings = findSubstringsEnclosedBy_inner(input, a, b); psl(strings); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1008463 |
| Snippet name: | Find pairs [dev.] |
| Eternal ID of this version: | #1008463/8 |
| Text MD5: | 9411afef60533e9d9e4f25fa07acf3be |
| Transpilation MD5: | 59384487776e2f1d31eb37b3f6ff003f |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-20 13:56:42 |
| Source code size: | 394 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 759 / 901 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |