Skip to content

Added Array Function: Generate All Permutations (n!)#78

Open
Subhoshri wants to merge 11 commits intoimsuraj675:mainfrom
Subhoshri:main
Open

Added Array Function: Generate All Permutations (n!)#78
Subhoshri wants to merge 11 commits intoimsuraj675:mainfrom
Subhoshri:main

Conversation

@Subhoshri
Copy link
Copy Markdown
Contributor

Description

This pull request adds functions to generate and return an array of all permutations of an array.

Tasks Completed

@imsuraj675
Copy link
Copy Markdown
Owner

Why you have sorted the array? Does sorting play any role, as in all the permutation, one of them will be sorted too? Use a different approach, to generate all permutations iteratively. Add a readme file too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants