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.
Determine whether a vector is monotonically increasing
Return a list sorted by number of occurrences
count to vector
Clock Hand Angle 1
Flag largest magnitude swings as they occur
Solve Rubik's Cube - Up to Two Face Moves
GJam: 2013 China Event: Cannon Angle
GJam 2016 Rd1A: Rank and File (small)
Genome Sequence 002: Introductory DNA Sequencing (Flipped Segments)
PACMAT - G03 Ghosts use minimum path to PACMAT; 3 Lives
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