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?
3097 Solvers
Find the longest sequence of 1's in a binary sequence.
3414 Solvers
3252 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
795 Solvers
The sum of the numbers in the vector
430 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!