Cody

Solution 1794125

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

a = 65 hold = 0 snum = 1×41 uint8 row vector Columns 1 through 30 84 104 101 32 113 117 105 99 107 32 98 114 111 119 110 32 102 111 120 32 106 117 109 112 115 32 111 118 101 114 Columns 31 through 41 32 97 32 108 97 122 121 32 100 111 103 a = 66 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 a = 75 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 a = 82 a = 83 a = 84 a = 85 a = 86 a = 87 a = 88 a = 89 a = 90 a = 91 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 = 65 hold = 0 snum = 1×42 uint8 row vector Columns 1 through 30 84 104 101 32 113 117 105 99 107 32 98 114 111 119 110 32 102 111 120 32 106 117 109 112 101 100 32 111 118 101 Columns 31 through 42 114 32 97 32 108 97 122 121 32 100 111 103 a = 66 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 a = 75 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 a = 82 a = 83 hold = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 a = 84 a = 85 a = 86 a = 87 a = 88 a = 89 a = 90 a = 91 tf = logical 0

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

a = 65 hold = 0 snum = 1×39 uint8 row vector Columns 1 through 30 80 97 99 107 32 109 121 32 98 111 120 32 119 105 116 104 32 102 105 118 101 32 100 111 122 101 110 32 108 105 Columns 31 through 39 113 117 111 114 32 106 117 103 115 a = 66 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 a = 75 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 a = 82 a = 83 a = 84 a = 85 a = 86 a = 87 a = 88 a = 89 a = 90 a = 91 tf = logical 1

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

a = 65 hold = 0 snum = 1×39 uint8 row vector Columns 1 through 30 80 97 99 107 32 109 121 32 98 111 120 32 119 105 116 104 32 102 111 117 114 32 100 111 122 101 110 32 108 105 Columns 31 through 39 113 117 111 114 32 106 117 103 115 a = 66 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 a = 75 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 a = 82 a = 83 a = 84 a = 85 a = 86 hold = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 a = 87 a = 88 a = 89 a = 90 a = 91 tf = logical 0

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

a = 65 hold = 0 snum = 1×36 uint8 row vector Columns 1 through 30 83 112 104 105 110 120 32 111 102 32 98 108 97 99 107 32 113 117 97 114 116 122 44 32 106 117 100 103 101 32 Columns 31 through 36 109 121 32 118 111 119 a = 66 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 a = 75 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 a = 82 a = 83 a = 84 a = 85 a = 86 a = 87 a = 88 a = 89 a = 90 a = 91 tf = logical 1

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

a = 65 hold = 0 snum = 1×34 uint8 row vector Columns 1 through 30 83 112 104 105 110 120 32 111 102 32 98 108 97 99 107 32 111 110 121 120 44 32 106 117 100 103 101 32 109 121 Columns 31 through 34 32 118 111 119 a = 66 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 a = 75 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 hold = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 a = 82 hold = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 a = 83 a = 84 hold = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 a = 85 a = 86 a = 87 a = 88 a = 89 a = 90 hold = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 1 a = 91 tf = logical 0

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

a = 65 hold = 0 snum = 1×38 uint8 row vector Columns 1 through 30 87 111 110 100 101 114 102 117 108 32 119 97 116 101 114 109 101 108 111 110 44 32 98 114 105 110 103 101 114 32 Columns 31 through 38 111 102 32 108 105 102 101 46 a = 66 a = 67 hold = 0 0 1 a = 68 a = 69 a = 70 a = 71 a = 72 hold = 0 0 1 0 0 0 0 1 a = 73 a = 74 hold = 0 0 1 0 0 0 0 1 0 1 a = 75 hold = 0 0 1 0 0 0 0 1 0 1 1 a = 76 a = 77 a = 78 a = 79 a = 80 hold = 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 1 a = 81 hold = 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 1 1 a = 82 a = 83 hold = 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 1 1 0 1 a = 84 a = 85 a = 86 hold = 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 a = 87 a = 88 hold = 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 a = 89 hold = 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 1 a = 90 hold = 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 a = 91 tf = logical 0

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

a = 65 hold = 0 snum = 1×38 uint8 row vector Columns 1 through 30 68 97 115 116 97 114 100 108 121 32 100 117 109 112 108 105 110 103 44 32 104 97 114 98 105 110 103 101 114 32 Columns 31 through 38 111 102 32 100 111 111 109 33 a = 66 a = 67 hold = 0 0 1 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 hold = 0 0 1 0 0 0 0 0 0 1 a = 75 hold = 0 0 1 0 0 0 0 0 0 1 1 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 hold = 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 a = 82 a = 83 a = 84 a = 85 a = 86 hold = 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 a = 87 hold = 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 1 a = 88 hold = 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 1 1 a = 89 a = 90 hold = 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 1 1 0 1 a = 91 tf = logical 0

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

a = 65 hold = 0 snum = 1×29 uint8 row vector 65 98 99 68 69 32 70 103 72 105 74 75 108 32 109 109 111 80 81 114 115 116 117 86 32 87 120 121 122 a = 66 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 a = 75 a = 76 a = 77 a = 78 hold = 0 0 0 0 0 0 0 0 0 0 0 0 0 1 a = 79 a = 80 a = 81 a = 82 a = 83 a = 84 a = 85 a = 86 a = 87 a = 88 a = 89 a = 90 a = 91 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 = 65 hold = 0 snum = 1×53 uint8 row vector Columns 1 through 30 87 105 116 104 32 113 117 105 122 32 103 97 109 101 32 67 111 100 121 32 102 111 114 32 77 65 84 76 65 66 Columns 31 through 53 44 32 101 120 112 101 99 116 32 112 101 114 118 101 114 115 101 32 106 117 110 107 46 a = 66 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 a = 75 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 a = 82 a = 83 a = 84 a = 85 a = 86 a = 87 a = 88 a = 89 a = 90 a = 91 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 = 65 hold = 0 snum = 1×107 uint8 row vector Columns 1 through 30 80 117 110 99 116 117 97 116 105 111 110 32 109 97 114 107 115 32 108 105 107 101 32 64 35 36 37 94 60 47 Columns 31 through 60 38 62 42 63 33 33 44 32 119 104 101 110 32 117 115 101 100 32 105 110 32 99 97 114 116 111 111 110 115 32 Columns 61 through 90 116 111 32 115 116 97 110 100 32 105 110 32 102 111 114 32 115 119 101 97 114 105 110 103 44 32 97 114 101 32 Columns 91 through 107 99 97 108 108 101 100 32 34 103 114 97 119 108 105 120 34 46 a = 66 hold = 0 1 a = 67 a = 68 a = 69 a = 70 a = 71 a = 72 a = 73 a = 74 hold = 0 1 0 0 0 0 0 0 0 1 a = 75 a = 76 a = 77 a = 78 a = 79 a = 80 a = 81 hold = 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 a = 82 a = 83 a = 84 a = 85 a = 86 hold = 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 a = 87 a = 88 a = 89 hold = 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 a = 90 hold = 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 1 a = 91 tf = logical 0