Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
sIn = 'hello'
sOut = 'hlleo'
assert(isequal(scrambleText(sIn),sOut))
sIn =
hello
sOut =
hlleo
ans =
hlleo
|
2 | Pass |
sIn = 'This is the first time I have used MATLAB.'
sOut = 'Tihs is the fsrit tmie I hvae uesd MALTAB.'
assert(isequal(scrambleText(sIn),sOut))
sIn =
This is the first time I have used MATLAB.
sOut =
Tihs is the fsrit tmie I hvae uesd MALTAB.
ans =
Tihs is the fsrit tmie I hvae uesd MALTAB.
|
Find state names that end with the letter A
551 Solvers
Flip the main diagonal of a matrix
426 Solvers
227 Solvers
Magic is simple (for beginners)
1110 Solvers
208 Solvers