Data Structure Algorithm, JavaScript, Programming, Software Development, Technology.
how I went about it. The first thing to do is start with an example. I’ll go with one that you can find everywhere, the word “mississippi”. Other than being a fun word to say out loud, it also provides some interesting examples. Let’s first take a look at what the final suffix tree for this string