Input is a given string. Output is the number of ways to rearrange the string.
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers36
Suggested Problems
-
2361 Solvers
-
2271 Solvers
-
Back to basics 21 - Matrix replicating
1789 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
748 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1256 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The number of rearranged different strings for the last case ('EULER') is 59, not 119.
A valid and essentially the same problem exists: http://www.mathworks.com/matlabcentral/cody/problems/2394-permutation
ur last test is incorrect
The last test suite has been fixed.