Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 'The quick brown fox jumps over a lazy dog';
y_correct = true;
assert(isequal(isPangram(x),y_correct))
a =
1×33 cell array
Columns 1 through 19
{'t'} {'h'} {'e'} {'q'} {'u'} {'i'} {'c'} {'k'} {'b'} {'r'} {'o'} {'w'} {'n'} {'f'} {'o'} {'x'} {'j'} {'u'} {'m'}
Columns 20 through 33
{'p'} {'s'} {'o'} {'v'} {'e'} {'r'} {'a'} {'l'} {'a'} {'z'} {'y'} {'d'} {'o'} {'g'}
a =
0
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
0
1
1
1
0
1
1
1
1
1
tf =
logical
1
|
2 | Pass |
x = 'The quick brown fox jumped over a lazy dog';
y_correct = false;
assert(isequal(isPangram(x),y_correct))
a =
1×34 cell array
Columns 1 through 19
{'t'} {'h'} {'e'} {'q'} {'u'} {'i'} {'c'} {'k'} {'b'} {'r'} {'o'} {'w'} {'n'} {'f'} {'o'} {'x'} {'j'} {'u'} {'m'}
Columns 20 through 34
{'p'} {'e'} {'d'} {'o'} {'v'} {'e'} {'r'} {'a'} {'l'} {'a'} {'z'} {'y'} {'d'} {'o'} {'g'}
a =
0
1
1
1
0
1
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
0
2
1
0
1
1
1
1
1
tf =
logical
0
|
3 | Pass |
x = 'Pack my box with five dozen liquor jugs';
y_correct = true;
assert(isequal(isPangram(x),y_correct))
a =
1×32 cell array
Columns 1 through 19
{'p'} {'a'} {'c'} {'k'} {'m'} {'y'} {'b'} {'o'} {'x'} {'w'} {'i'} {'t'} {'h'} {'f'} {'i'} {'v'} {'e'} {'d'} {'o'}
Columns 20 through 32
{'z'} {'e'} {'n'} {'l'} {'i'} {'q'} {'u'} {'o'} {'r'} {'j'} {'u'} {'g'} {'s'}
a =
1
1
1
1
0
1
1
1
1
0
0
1
1
1
1
1
1
0
0
1
1
1
1
1
1
0
1
1
1
1
1
tf =
logical
1
|
4 | Pass |
x = 'Pack my box with four dozen liquor jugs';
y_correct = false;
assert(isequal(isPangram(x),y_correct))
a =
1×32 cell array
Columns 1 through 19
{'p'} {'a'} {'c'} {'k'} {'m'} {'y'} {'b'} {'o'} {'x'} {'w'} {'i'} {'t'} {'h'} {'f'} {'o'} {'u'} {'r'} {'d'} {'o'}
Columns 20 through 32
{'z'} {'e'} {'n'} {'l'} {'i'} {'q'} {'u'} {'o'} {'r'} {'j'} {'u'} {'g'} {'s'}
a =
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
0
0
0
1
1
1
0
1
1
1
0
0
2
1
1
1
tf =
logical
0
|
5 | Pass |
x = 'Sphinx of black quartz, judge my vow';
y_correct = true;
assert(isequal(isPangram(x),y_correct))
a =
1×29 cell array
Columns 1 through 19
{'s'} {'p'} {'h'} {'i'} {'n'} {'x'} {'o'} {'f'} {'b'} {'l'} {'a'} {'c'} {'k'} {'q'} {'u'} {'a'} {'r'} {'t'} {'z'}
Columns 20 through 29
{'j'} {'u'} {'d'} {'g'} {'e'} {'m'} {'y'} {'v'} {'o'} {'w'}
a =
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
0
1
1
1
1
1
tf =
logical
1
|
6 | Pass |
x = 'Sphinx of black onyx, judge my vow';
y_correct = false;
assert(isequal(isPangram(x),y_correct))
a =
1×27 cell array
Columns 1 through 19
{'s'} {'p'} {'h'} {'i'} {'n'} {'x'} {'o'} {'f'} {'b'} {'l'} {'a'} {'c'} {'k'} {'o'} {'n'} {'y'} {'x'} {'j'} {'u'}
Columns 20 through 27
{'d'} {'g'} {'e'} {'m'} {'y'} {'v'} {'o'} {'w'}
a =
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
0
0
1
3
2
1
1
1
0
1
0
tf =
logical
0
|
7 | Pass |
x = 'Wonderful watermelon, bringer of life.';
y_correct = false;
assert(isequal(isPangram(x),y_correct))
a =
1×32 cell array
Columns 1 through 19
{'w'} {'o'} {'n'} {'d'} {'e'} {'r'} {'f'} {'u'} {'l'} {'w'} {'a'} {'t'} {'e'} {'r'} {'m'} {'e'} {'l'} {'o'} {'n'}
Columns 20 through 32
{'b'} {'r'} {'i'} {'n'} {'g'} {'e'} {'r'} {'o'} {'f'} {'l'} {'i'} {'f'} {'e'}
a =
1
2
1
0
0
0
0
1
0
0
1
2
0
3
0
0
1
1
0
0
1
0
0
3
0
0
0
2
1
2
0
tf =
logical
0
|
8 | Pass |
x = 'Dastardly dumpling, harbinger of doom!';
y_correct = false;
assert(isequal(isPangram(x),y_correct))
a =
1×32 cell array
Columns 1 through 19
{'d'} {'a'} {'s'} {'t'} {'a'} {'r'} {'d'} {'l'} {'y'} {'d'} {'u'} {'m'} {'p'} {'l'} {'i'} {'n'} {'g'} {'h'} {'a'}
Columns 20 through 32
{'r'} {'b'} {'i'} {'n'} {'g'} {'e'} {'r'} {'o'} {'f'} {'d'} {'o'} {'o'} {'m'}
a =
0
0
1
2
0
0
0
1
1
1
0
1
1
0
3
0
1
0
1
0
1
0
0
1
2
0
0
1
1
1
4
tf =
logical
0
|
9 | Pass |
x = 'AbcDE FgHiJKl mmoPQrstuV Wxyz';
y_correct = false;
assert(isequal(isPangram(x),y_correct))
a =
1×26 cell array
Columns 1 through 19
{'a'} {'b'} {'c'} {'d'} {'e'} {'f'} {'g'} {'h'} {'i'} {'j'} {'k'} {'l'} {'m'} {'m'} {'o'} {'p'} {'q'} {'r'} {'s'}
Columns 20 through 26
{'t'} {'u'} {'v'} {'w'} {'x'} {'y'} {'z'}
a =
1
1
1
1
1
1
1
1
1
1
1
1
0
2
1
1
1
1
1
1
1
1
1
1
1
tf =
logical
0
|
10 | Pass |
x = 'With quiz game Cody for MATLAB, expect perverse junk.';
y_correct = true;
assert(isequal(isPangram(x),y_correct))
a =
1×43 cell array
Columns 1 through 19
{'w'} {'i'} {'t'} {'h'} {'q'} {'u'} {'i'} {'z'} {'g'} {'a'} {'m'} {'e'} {'c'} {'o'} {'d'} {'y'} {'f'} {'o'} {'r'}
Columns 20 through 38
{'m'} {'a'} {'t'} {'l'} {'a'} {'b'} {'e'} {'x'} {'p'} {'e'} {'c'} {'t'} {'p'} {'e'} {'r'} {'v'} {'e'} {'r'} {'s'}
Columns 39 through 43
{'e'} {'j'} {'u'} {'n'} {'k'}
a =
0
0
1
1
0
1
1
0
0
0
0
0
1
1
1
1
0
1
1
1
1
0
1
1
0
1
0
1
1
0
0
1
1
0
0
1
0
1
1
1
1
1
tf =
logical
1
|
11 | Pass |
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))
a =
1×74 cell array
Columns 1 through 19
{'p'} {'u'} {'n'} {'c'} {'t'} {'u'} {'a'} {'t'} {'i'} {'o'} {'n'} {'m'} {'a'} {'r'} {'k'} {'s'} {'l'} {'i'} {'k'}
Columns 20 through 38
{'e'} {'w'} {'h'} {'e'} {'n'} {'u'} {'s'} {'e'} {'d'} {'i'} {'n'} {'c'} {'a'} {'r'} {'t'} {'o'} {'o'} {'n'} {'s'}
Columns 39 through 57
{'t'} {'o'} {'s'} {'t'} {'a'} {'n'} {'d'} {'i'} {'n'} {'f'} {'o'} {'r'} {'s'} {'w'} {'e'} {'a'} {'r'} {'i'} {'n'}
Columns 58 through 74
{'g'} {'a'} {'r'} {'e'} {'c'} {'a'} {'l'} {'l'} {'e'} {'d'} {'g'} {'r'} {'a'} {'w'} {'l'} {'i'} {'x'}
a =
0
0
0
0
0
0
0
2
0
0
1
0
0
1
0
0
0
0
0
1
1
0
1
1
0
0
0
0
0
2
0
1
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
1
2
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
2
0
0
1
tf =
logical
0
|
Maximum running product for a string of numbers
1112 Solvers
1092 Solvers
280 Solvers
Magic is simple (for beginners)
2749 Solvers
Matlab Basics - Absolute Value
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!