Join Slack
Powered by
how would I do a cartesian product of two lists in...
# getting-started
p
poohbar
11/06/2017, 6:47 PM
how would I do a cartesian product of two lists in Kotlin?
Copy code
listOf("a", "b")
Copy code
listOf(1,2,3)
result:
Copy code
[(a, 1), (a, 2), (a,3), (b, 1), (b, 2), (b, 3)]
2
Views
Open in Slack
Previous
Next