title: Suffix tree and Tries. What is the difference?
body: <p>I am reading about <code>Tries</code> commonly known as Prefix trees and <code>Suffix Trees</code>.<br>
  Although I have found code for a <code>Trie</code> I can not find an example for a <code>Suffix Tree</code>. Also I get the feeling that the code that builds a <code>Trie</code> is the same as the one for a <code>Suffix Tree</code> with the only difference that in the former case we store prefixes but in the latter suffixes.<br>
  Is this true? Can anyone help me clear this out in my head? An example code would be great help!</p>