Persistent Trie

In this article, we discuss the Trie data structure and how to make it persistent to solve various problems optimally.

Table of contents:

What is a Trie?Persistency of a data structurePersistent TrieTime and Space Complexity AnalysisComparison between basic and persistent trieExample Problem

Pre-requisites:

TrieApplications of Trie Data StructureWhat is a Trie?

This is a special tree that can store strings in an ordered efficient way.
We can visualize it as a graph, that is each node ...

 •  0 comments  •  flag
Share on Twitter
Published on December 14, 2021 11:51
No comments have been added yet.