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 Solvers39
Suggested Problems
-
Find the sum of all the numbers of the input vector
55802 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15822 Solvers
-
Return elements unique to either input
818 Solvers
-
248 Solvers
-
390 Solvers
More from this Author4
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.