Problem 1856. Molecule Atomic Wt (CHONS) Molecules
Solution Stats
Problem Comments
-
1 Comment
Update: Test suite has been enhanced to include double digit numbers.
Solution Comments
-
2 Comments
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?
-
2 Comments
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?
Problem Recent Solvers39
Suggested Problems
-
Find common elements in matrix rows
1857 Solvers
-
1197 Solvers
-
Create a square matrix of multiples
426 Solvers
-
Find nearest prime number less than input number
439 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
330 Solvers
More from this Author255
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!