Post History
Japt, 17 bytes ô@VøYÃíUgV öx)c f Try it Japt, 17 bytes ô@VøYÃíUgV öx)c f Try it ô@VøYÃíUgV öx)c f :Implicit input of arrays U=integers & V=indices ô :Split U ...
Answer
#2: Post edited
- # [Japt](https://github.com/ETHproductions/japt), 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ô@VøYÃíUgV öx)c f
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=9EBW%2bFnD7VVnViD2eCljIGY&input=WzkzLDYsMTAsMSwyMDAsNDEsNzgsMzEsMzQsMjddClswLDMsNCw4LDldCi1R)
- # [Japt](https://github.com/ETHproductions/japt), 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ô@VøYÃíUgV öx)c f
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=9EBW%2bFnD7VVnViD2eCljIGY&input=WzkzLDYsMTAsMSwyMDAsNDEsNzgsMzEsMzQsMjddClswLDMsNCw4LDldCi1R)
- # [Japt](https://github.com/ETHproductions/japt), 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ô@VøYÃíUgV öx)c f
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=9EBW%2bFnD7VVnViD2eCljIGY&input=WzkzLDYsMTAsMSwyMDAsNDEsNzgsMzEsMzQsMjddClswLDMsNCw4LDldCi1R)
- ô@VøYÃíUgV öx)c f :Implicit input of arrays U=integers & V=indices
- ô :Split U on elements ...
- @ :That return true when their indices are passed through the following function as Y
- VøY : Does V contain Y?
- Ã :End split
- í :Interleave with
- UgV : Elements in U at indices in V
- öx : Random permutation
- ) :End interleave
- c :Flatten
- f :Filter
#1: Initial revision
# [Japt](https://github.com/ETHproductions/japt), 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) ô@VøYÃíUgV öx)c f [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=9EBW%2bFnD7VVnViD2eCljIGY&input=WzkzLDYsMTAsMSwyMDAsNDEsNzgsMzEsMzQsMjddClswLDMsNCw4LDldCi1R)