AlgoGenesis / C

AlgoGenesis is a centralized open-source platform dedicated to providing optimized and well-documented algorithm implementations in C. Perfect for both beginners and advanced users, this repository serves as a comprehensive learning resource for solving algorithmic challenges.
MIT License
73 stars 229 forks source link

[NEW ALGORITHM] Next Permutation #1121

Closed sandeepmaddheshiya closed 2 hours ago

sandeepmaddheshiya commented 2 hours ago

Name:

Next Permutation

About:

The next permutation algorithm is a method to generate the lexicographically next permutation from a given permutation. It is used to find the smallest permutation that is greater than the current permutation. This algorithm is particularly useful in combinatorial mathematics, particularly in generating all permutations of a set.


Labels:

new algorithm, gssoc-ext, hacktoberfest, level1


Assignees:

sandeepmaddheshiya commented 2 hours ago

Oh, Someone is already working on it, so i'm closing this issue...