Problem 88. It dseon't mettar waht oedrr the lrettes in a wrod are.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Hans Kramer
on 25 Oct 2018
Put more test cases in. Makes cheating too tempting.
danteliujie
on 18 Mar 2019
the regexp solution is great
jo gayong
on 10 Jul 2019
Adding a test case containing words with hyphens like 'hard-working' will make this problem more challenging.
Aaron Greisen
on 2 Oct 2022
Needs more test cases. Some would fail with input sIn = 'what is a chain' because of the 'ha' occurring in the middle of both in 'what' and 'chain'. Also needs test cases with hyphened words.
Solution Comments
Show commentsProblem Recent Solvers1459
Suggested Problems
-
What is the next step in Conway's Life?
1129 Solvers
-
Find state names that end with the letter A
1084 Solvers
-
Find state names that start with the letter N
1099 Solvers
-
Project Euler: Problem 10, Sum of Primes
1478 Solvers
-
Sum of odd numbers in a matrix
459 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!