« first day (2118 days earlier)      last day (553 days later) » 

8:51 AM
@AidenChow ⊂{⍺/⍨⍵=|⍺-⍳≢⍺}¨⍳∘≢ with ⎕IO←0 and input/output adjusted by 1 (allowed).
 
 
3 hours later…
11:59 AM
@AidenChow Alternative approach: {/∘⍵¨i=⊂|⍵-i←⍳≢⍵} (again with ⎕IO←0)
 
 
1 hour later…
1:01 PM
if the order of the result doesn't matter why not use dyadic ⌸?
 
Yeah, I didn't quite understand. If the order doesn't matter, then the result is rather meaningless.
 
btw ⍳∘≢ can be ⍳⍨ as it is guaranteed unique
 
I missed that point.
 
⊢⊢∘⊂⌸⍨⍥|⊢-⍳⍨ is the shortest I have using that and the order not mattering
 
Why instead of ?
 
1:07 PM
spoiled for choice :)
 
I'd also go for ⊂⍤⊢ over ⊢∘⊂ but that's a style.
 
yeah ⊂⍤⊢ is probably clearer
 
⍳⍨⍛-⊢∘⊂⌸⍥|⊢ in 19.0
 
nice
 
⍳⍨⍛-⍛(⊢∘⊂⌸⍥|) if you don't like trains :-)
 
 
10 hours later…
11:05 PM
@Adám wtf how do these work
like bruh what am i even looking at
@rak1507 broooooo wat ?????????
this is some wizardry right here im looking at
 

« first day (2118 days earlier)      last day (553 days later) »