Array permutations
Vino
akashvino79 at gmail.com
Sat Sep 11 23:10:51 UTC 2021
On Saturday, 11 September 2021 at 23:04:29 UTC, Vino wrote:
> On Saturday, 11 September 2021 at 19:57:26 UTC, jfondren wrote:
>> [...]
>
> Hi,
>
> Thank you very much, let me try to explain the actual
> requirement, the actual requirement is to find all the
> permutations of a given array, I modified your code and it
> gives me the exact output , but i need help to remove the array
> which has the same value as below
>
> [...]
Hi,
Was able to resolve the issue by adding the filter
".filter!"a[0] != a[1]"
From,
Vino
More information about the Digitalmars-d-learn
mailing list