Cody

# Problem 27. Pangrams!

Solution 1909278

Submitted on 22 Aug 2019
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   Fail
x = 'The quick brown fox jumps over a lazy dog'; y_correct = true; assert(isequal(isPangram(x),y_correct))

temp_str = 'Thequickbrownfoxjumpsovralazydog' temp_str = 'Thequickbrownfoxjmpsovralazydog' temp_str = 'Thequickbrownfoxjmpsovalazydog' temp_str = 'Thequickbrownfoxjmpsovalazydg' temp_str = 'Thequickbrownfoxjmpsvalazydg' temp_str = 'Thequickbrownfxjmpsvalazydg' temp_str = 'Thequickbrownfxjmpsvalzydg' temp_str = 'Thequickbrownfxjmpsvalzydg' tf = 'true'

Assertion failed.

2   Fail
x = 'The quick brown fox jumped over a lazy dog'; y_correct = false; assert(isequal(isPangram(x),y_correct))

temp_str = 'Thequickbrownfoxjumpedovralazydog' temp_str = 'Thequickbrownfoxjumpdovralazydog' temp_str = 'Thequickbrownfoxjmpdovralazydog' temp_str = 'Thequickbrownfoxjmpdovalazydog' temp_str = 'Thequickbrownfoxjmpdovalazydg' temp_str = 'Thequickbrownfoxjmpdvalazydg' temp_str = 'Thequickbrownfxjmpdvalazydg' temp_str = 'Thequickbrownfxjmpdvalazyg' temp_str = 'Thequickbrownfxjmpdvalzyg' temp_str = 'Thequickbrownfxjmpdvalzyg' tf = 'fasle'

Assertion failed.

3   Fail
x = 'Pack my box with five dozen liquor jugs'; y_correct = true; assert(isequal(isPangram(x),y_correct))

temp_str = 'Packmyboxwithfivedozenliqurjugs' temp_str = 'Packmyboxwithfivedzenliqurjugs' temp_str = 'Packmyboxwithfivedzenlqurjugs' temp_str = 'Packmyboxwithfvedzenlqurjugs' temp_str = 'Packmyboxwithfvedznlqurjugs' temp_str = 'Packmyboxwithfvedznlqurjgs' temp_str = 'Packmyboxwithfvedznlqurjgs' tf = 'true'

Assertion failed.

4   Fail
x = 'Pack my box with four dozen liquor jugs'; y_correct = false; assert(isequal(isPangram(x),y_correct))

temp_str = 'Packmyboxwithfourdozenliqurjugs' temp_str = 'Packmyboxwithfourdzenliqurjugs' temp_str = 'Packmyboxwithfurdzenliqurjugs' temp_str = 'Packmyboxwithfurdzenlqurjugs' temp_str = 'Packmyboxwithfurdzenlqurjgs' temp_str = 'Packmyboxwithfurdzenlqrjgs' temp_str = 'Packmyboxwithfurdzenlqjgs' temp_str = 'Packmyboxwithfurdzenlqjgs' tf = 'fasle'

Assertion failed.

5   Fail
x = 'Sphinx of black quartz, judge my vow'; y_correct = true; assert(isequal(isPangram(x),y_correct))

temp_str = 'Sphinxofblackquartz,judgemyvw' temp_str = 'Sphinxofblackqurtz,judgemyvw' temp_str = 'Sphinxofblackqurtz,jdgemyvw' temp_str = 'Sphinxofblackqurtz,jdgemyvw' tf = 'fasle'

Assertion failed.

6   Fail
x = 'Sphinx of black onyx, judge my vow'; y_correct = false; assert(isequal(isPangram(x),y_correct))

temp_str = 'Sphinxofblackoyx,judgemyvow' temp_str = 'Sphinxofblackoy,judgemyvow' temp_str = 'Sphinxofblackoy,judgemyvw' temp_str = 'Sphinxofblacky,judgemyvw' temp_str = 'Sphinxofblacky,judgemvw' temp_str = 'Sphinxofblacky,judgemvw' tf = 'fasle'

Assertion failed.

7   Fail
x = 'Wonderful watermelon, bringer of life.'; y_correct = false; assert(isequal(isPangram(x),y_correct))

temp_str = 'Wonderfulwatermelon,bringerflife.' temp_str = 'Wonderfulwatermeln,bringerflife.' temp_str = 'Wonderfulwatermeln,brigerflife.' temp_str = 'Wonderfulwatermel,brigerflife.' temp_str = 'Wonderfulwatermel,brigerflif.' temp_str = 'Wonderfulwatermel,brigrflif.' temp_str = 'Wonderfulwaterml,brigrflif.' temp_str = 'Wonderfulwatrml,brigrflif.' temp_str = 'Wonderfulwatrml,brigflif.' temp_str = 'Wonderfulwatrml,bigflif.' temp_str = 'Wonderfulwatml,bigflif.' temp_str = 'Wonderfulwatml,bigfli.' temp_str = 'Wonderfulwatml,bigli.' temp_str = 'Wonderfulwatml,bigi.' temp_str = 'Wonderfulwatm,bigi.' temp_str = 'Wonderfulwatm,big.' temp_str = 'Wonderfulwatm,big.' tf = 'fasle'

Assertion failed.

8   Fail
x = 'Dastardly dumpling, harbinger of doom!'; y_correct = false; assert(isequal(isPangram(x),y_correct))

temp_str = 'Dastardlydumpling,hrbingerofdoom!' temp_str = 'Dastrdlydumpling,hrbingerofdoom!' temp_str = 'Dastrdlydumpling,hrbingeofdoom!' temp_str = 'Dastrdlydumpling,hbingeofdoom!' temp_str = 'Dastrdlydumpling,hbingeofoom!' temp_str = 'Dastrdlyumpling,hbingeofoom!' temp_str = 'Dastrdlyumping,hbingeofoom!' temp_str = 'Dastrdlyumping,hbingeofoo!' temp_str = 'Dastrdlyumping,hbngeofoo!' temp_str = 'Dastrdlyumping,hbgeofoo!' temp_str = 'Dastrdlyumping,hbeofoo!' temp_str = 'Dastrdlyumping,hbeofo!' temp_str = 'Dastrdlyumping,hbeof!' temp_str = 'Dastrdlyumping,hbeof!' tf = 'fasle'

Assertion failed.

9   Fail
x = 'AbcDE FgHiJKl mmoPQrstuV Wxyz'; y_correct = false; assert(isequal(isPangram(x),y_correct))

temp_str = 'AbcDEFgHiJKlmoPQrstuVWxyz' temp_str = 'AbcDEFgHiJKlmoPQrstuVWxyz' tf = 'fasle'

Assertion failed.

10   Fail
x = 'With quiz game Cody for MATLAB, expect perverse junk.'; y_correct = true; assert(isequal(isPangram(x),y_correct))

temp_str = 'WithquzgameCodyforMATLAB,expectperversejunk.' temp_str = 'WithquzgameCodyforMATLAB,expecperversejunk.' temp_str = 'WithquzgameCodyforMATLAB,expecperversejnk.' temp_str = 'WithquzgameCodyforMATLAB,expecperversjnk.' temp_str = 'WithquzgameCodyforMATLAB,expecpervrsjnk.' temp_str = 'WithquzgameCodyforMATLAB,expecprvrsjnk.' temp_str = 'WithquzgameCodyforMATLAB,expcprvrsjnk.' temp_str = 'WithquzgameCodyforMATLAB,xpcprvrsjnk.' temp_str = 'WithquzgameCodyfrMATLAB,xpcprvrsjnk.' temp_str = 'WithquzgameCodyfrMATLAB,xpcprvsjnk.' temp_str = 'WithquzgameCodyfrMATLAB,xpcpvsjnk.' temp_str = 'WithquzgameCodyfrMATLB,xpcpvsjnk.' temp_str = 'WithquzgameCodyfrMATLB,xpcvsjnk.' temp_str = 'WithquzgameCodyfrMATLB,xpcvsjnk.' tf = 'fasle'

Assertion failed.

11   Fail
x = 'Punctuation marks like @#\$%^</&>*?!!, when used in cartoons to stand in for swearing, are called "grawlix".'; y_correct = false; assert(isequal(isPangram(x),y_correct))