treemap
Toggle table of contents
2025.0.1
common
Platform filter
common
Switch theme
Search in API
treemap
treemap
/
com.treemap
/
CombinationGenerator
Combination
Generator
object
CombinationGenerator
Members
Functions
combination
Link copied to clipboard
fun
combination
(
r
:
Int
,
n
:
Int
)
:
List
<
List
<
Int
>
>
generate
Combinations
Link copied to clipboard
fun
<
T
>
generateCombinations
(
list
:
List
<
T
>
,
r
:
Int
)
:
List
<
List
<
T
>
>
generate
Next
Combination
Link copied to clipboard
fun
generateNextCombination
(
temp
:
IntArray
,
n
:
Int
,
r
:
Int
)
:
IntArray
n
Cr
Link copied to clipboard
fun
nCr
(
n
:
Int
,
r
:
Int
)
:
Double