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?
Maximum running product for a string of numbers
Count from 0 to N^M in base N.
Insert zeros into vector
Remove element(s) from cell array
Compare two input matrices
GJam 2014 China Rd B: Sudoku Checker
ICFP2021 Hole-In-Wall: Solve Score=0, where number Hole Vertices = Figure Vertices
Unique: Faster for options 'rows' and 'stable' for large array of uint8
Tiles Contest: Perfect Solutions for Large Unique Tile Boards
Vine Contest 1-D Case Optimization: Board 78
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