Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Trie to store Strings and search strings #113

Open
vaishnavijha opened this issue Feb 8, 2021 · 1 comment
Open

Using Trie to store Strings and search strings #113

vaishnavijha opened this issue Feb 8, 2021 · 1 comment

Comments

@vaishnavijha
Copy link
Contributor

Trie is an efficient information reTrieval data structure. Using Trie, search complexities can be brought to optimal limit (key length). If we store keys in binary search tree, a well balanced BST will need time proportional to M * log N, where M is maximum string length and N is number of keys in tree. Using Trie, we can search the key in O(M) time.

I want to demonstrate how can we use trie data structure to search for a given string.

problem link: https://practice.geeksforgeeks.org/problems/trie-insert-and-search0651/1

@vaishnavijha
Copy link
Contributor Author

Can I be assigned this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant