Sorting & Searching: x⍳x Index   <<   >>


 
f ← {y←(⍴x)⍴x←?1e6⍴⍵ ⋄ ⎕←⍬⊣⎕←cmpx 'x⍳x' 'x⍳y'}

f¨ 120 32000 2e9 0

“Selfies”