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!'
Back to basics 12 - Input Arguments
Getting the indices from a matrice
Get the elements of diagonal and antidiagonal for any m-by-n matrix
Find nearest prime number less than input number
06 - Matrix Equations 2
Calculate the Levenshtein distance between two strings
Maximum running product for a string of numbers
Determine if input is odd
What is the next step in Conway's Life?
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