Identify Chemical Molecules 

A SMILES string is a way to represent a 2D molecular graph as a 1D string. Find a way to determine if two SMILES strings have the same structure.

In[1]:=
Click for copyable input
X

Build the graphs from SMILES.

In[2]:=
Click for copyable input
X
In[3]:=
Click for copyable input
X
In[4]:=
Click for copyable input
X
Out[4]=

The SMILES have different structures.

In[5]:=
Click for copyable input
X
Out[5]=
de es ja pt-br zh