SarthakKeshari / Java-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
47 stars 98 forks source link

Permutations Of The Given String #404

Closed dineshparekh11 closed 3 years ago

dineshparekh11 commented 3 years ago

Issue Id you have worked upon -

392

Briefly explain your program logic -

Calculate how many permutations of the word are possible , by using the formula nPr = n! / (n-r)!

Screenshots(Attach 2 screenshots of your own input and output) -

Attach here


Checklist:

Eg - If your code follow the below guidelines. Kindly change [] to [x]

All the conditions should be fulfilled for considering your code for merging -