It's unfortunate that not all names can be build with the periodic table. I've tried this as a kid. The best that I can do with my name is RaF or RaFAl.
I had the syntax for doing this with grep for a list of words, but couldn't quite figure out how to change it into MATLAB code...
fails to "heralds", "frames", "pace", "bathe", etc.
Thanks for the suggestion. I added "frames" to the test.
It's a good thing that the length of a string does not count towards the score!
But it would fail to >12 elements phrase like "ButherLikesStewHisWifeLikesBrowniesWithBananas".
Check if sorted
Project Euler: Problem 4, Palindromic numbers
Size of this cup?
Wind outward from the center ...
Spot the rectangle (Part 2)
How Many Months Until It's Today Again?
Is It a Snake?
Find the Final State of an Abelian Sandpile
Frobenius McNugget Factorization
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