My "Avoid 0 size solutions" portion in the test suite was far too tempting. Nice haha.
Always fun to see the inventiveness of alternate solutions.
You use the filename to encode a small part of the data. Very smart !
I like to come back to this WONDERFUL solution from time to time. In my top 10.
Finding Perfect Squares
Number of Circles in a Number
Wind outward from the center ...
Return 'on' or 'off'
GJam 2014 China Rd A: Rational Number Tree
Genome Sequence 003R: Sequence DNA of random positioned and flipped segments
GJam: 2013 Rd1a Bullseye Painting - Large Numbers
GJam 2014 China Rd A: Read Phone Number
DNA Pattern Match: Performance Metric - Speed
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