Last Breath

Tweet I wish for things, never to own. I wait for friends, already gone. I try to see, things unseen. I wander places, never been. I hide the wound, and bear the pain. I ask myself, will it rain. I ask you, nothing you say. I see the light, but far away. I close my […]

Trie implementation in Javascript

Tweet A trie, or prefix tree, is a multi-way tree structure useful for storing strings over an alphabet. It is very efficient and handy and can be used for various purposes like auto-complete, spell-check, dictionary search, etc. The basic idea of a Trie goes as below: We have a root node which represents an empty […]