Cody

# Problem 3020. Prime Letters = Removing

Solution 795896

Submitted on 18 Dec 2015 by Md Tariqul Islam
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
%% s1 = 'Determine which array elements are prime' s2 = 'Dtrin which rry lnts r pri' assert(isequal(primeLetters(s1),s2))

s1 = Determine which array elements are prime s2 = Dtrin which rry lnts r pri

2   Pass
%% s1 = 'YeS, I SaY, make me SOme egg, aCe' s2 = ', , , ' assert(isequal(primeLetters(s1),s2))

s1 = YeS, I SaY, make me SOme egg, aCe s2 = , , ,

3   Pass
%% s2 = 'wrtyuiopsdfhjlzxcvbnQWERTUPADFHJKLZXVBNM' s1 = 'qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM' assert(isequal(primeLetters(s1),s2))

s2 = wrtyuiopsdfhjlzxcvbnQWERTUPADFHJKLZXVBNM s1 = qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!