Anonymous user
Permutations/Derangements: Difference between revisions
→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
(added FreeBASIC) |
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
||
Line 1,691:
Computed approximation to !20 (15 significant digits): 895014631192902000</lang>
=={{header|Kotlin}}==
<lang scala>// version 1.1.
fun <T> permute(input: List<T>): List<List<T>> {
|