5

I need the classic N choose K algorithm to generate all the possible combinations of a list or iterable in Dart. Is there any implementation out there?

Cristian Garcia
  • 9,350
  • 5
  • 51
  • 72

1 Answers1

7

The package trotter seems to do what you are looking for.

Günter Zöchbauer
  • 558,509
  • 191
  • 1,911
  • 1,506