itertools-ts icon indicating copy to clipboard operation
itertools-ts copied to clipboard

Implement summary.arePermutations()

Open Smoren opened this issue 1 year ago • 0 comments

True if iterables are permutations of each other.

function *arePermutations<T>(...iterables: Array<Iterable<T> | Iterator<T>>): boolean

PHP implementation example

Needs to be implemented:

  • summary.arePermutations()
  • summary.arePermutationsAsync()
  • Stream.arePermutations()
  • AsyncStream.arePermutations()

Smoren avatar Feb 09 '25 12:02 Smoren