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 Solvers38
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1326 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
652 Solvers
-
Reverse the elements of an array
1130 Solvers
-
492 Solvers
-
07 - Common functions and indexing 6
468 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.