Monthly Archives: March 2016

Molecule to atoms

molecules-

Here is a interested algorithm question on codewars site. For a given chemical formula represented by a string, count the number of atoms of each element contained in the molecule and return an object. For example: water = ‘H2O’ parse_molecule(water)

Tagged with: ,
Posted in Algorithm