The test suite should be expanded to contain a sentence with 25 unique letters and some non-letters.
I know im not really efficient in my code but how do people get solutions of length 10?
they use something in the form of
regexp '' '(?@variable_youre_running_on,all_regular_work_pasted_here);'
ASCII table came useful
Good one .
function tf = isPangram(s)
nice one-liner :)
Funny system they have for measuring length - this sure looks like the shortest.
. . . punctuation marks
This will fail if the sentence contains enough non-alphabetical letters!
or if it's just 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
Or if it is 'aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsS'
i think my solution is correct but the system seems to get it wrong
This would not work if punctuation was included in the string, or if spaces were not included in the string, or if capital and lower case letters were duplicated, but letters were still missing.
this would not work if the string was 'szv'
there is a false positive on 'The quick brown fox jumps over a lazy do!'
Renaming a field in a structure array
Change the sign of even index entries of the reversed vector
Add a block to a model
Calculate Inner Product
Find MPG of Lightest Cars
Sums with Excluded Digits
Times 2 - START HERE
Remove the vowels
Sort a list of complex numbers based on far they are from the origin.
Add two numbers
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office