Timeline for Replace all items with their counts
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 22, 2021 at 20:05 | comment | added | coltim |
Yep, exactly! It's possible to implement it in oK as well, but you would need to use {(#:'=x)x} .
|
|
Apr 22, 2021 at 19:17 | comment | added | Galen Ivanov | @coltim Thank you! So you make a dictionary with numbers/frequencies for keys/values and request the values according to the input keys? | |
Apr 22, 2021 at 16:26 | comment | added | coltim |
An alternative 9-byte answer is possible in ngn/k: {(#'=x)x}
|
|
Apr 22, 2021 at 7:54 | history | answered | Galen Ivanov | CC BY-SA 4.0 |