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!'
It dseon't mettar waht oedrr the lrettes in a wrod are.
Project Euler: Problem 2, Sum of even Fibonacci
Getting the indices from a vector
Sum of the Matrix Elements
Select every other element of a vector
Summing Digits within Text
Make a checkerboard matrix
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