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
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!'
Get the length of a given vector
Reindex a vector
Create a two dimensional zero matrix
Length of a short side
Find state names that start with the letter N
Remove all the words that end with "ain"
Counting in Finnish
The Goldbach Conjecture, Part 2
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