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 Solvers37
Suggested Problems
-
middleAsColumn: Return all but first and last element as a column vector
651 Solvers
-
387 Solvers
-
113 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
400 Solvers
-
Create sequnce 1 4 9 16 25.........
417 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.