Solution 14 is classic Tim utilizing a multidimensional single for loop with a stunning magical rune string.
This solution is not general. How would this deal with NaCl for instance?
Another astounding solution by Alfonso. A symbolic solution with regexprep using an expert logical twist to accommodate all molecules.
This solution is not general. How would it deal with CaCO3?
Find all elements less than 0 or greater than 10 and replace them with NaN
Return a list sorted by number of occurrences
Return the Fibonacci Sequence
Remove the two elements next to NaN value
GJam 2016 Rd1A: Rank and File (small)
Rubik's Cube: 30 Moves or Less : Contest Scoring (Time/Size/Moves)
Chezz_020 Pawn Attack and Slaying King
GJam: 2013 China Event: Cannon Angle
GJam 2014 China Rd B: Party
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