Auto complete feature using trie

preview_player
Показать описание
This video explains how the auto-complete feature is implemented using trie in the simplest way possible. Trie is a very data structure to store text data and retrieve in a very short time and so we make use of trie data structure for auto-completion of typed text, letter or phrase. This is a very commmonly asked interview question. CODE LINK is provided in the link below. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)

Рекомендации по теме
Комментарии
Автор

I am so unlucky that I discovered your channel so late, but your content is literally awesome, I am speechless. I always think that this topic is very tough and I never be able to do this with this playlist, I am completely confident that I can now teach trie any other also.

pranshujain
Автор

great video, thanks for going through the time and space complexity as well!

sye
Автор

Best video 😊 to much informative..
Really very helpful to understand autocomplete feature😊

kunalsoni
Автор

For 'abc' i think so that you have told wrong

kumarakash
Автор

I think in @5:52 the suggestion for 'abc' was supposed to be 'abb' because the query result should only show 1 suggestion. I believe it's a mistake, can you confirm this as well?

ellio
Автор

Maintain every word at end node and move curr pointer to the word and from there perform BFS

poetryiscodingdecoding
Автор

how to order the suggestions according to their frequency of search

kanwarkajla
Автор

Why we use the preorder specifically, cant we use either dfs or bfs from the point where we simply find the prefix.

varunsadhu
Автор

What is the time and space complexity of suggesting word function

tarunjainst
Автор

To implement dictionary and input will be paragraph, from which program has to find misspelled word and provide near match in dictionary. How to implement this sir using data structure? Do you have this program?

HariKrishnan-ffhf
Автор

Implement a type ahead with a regex “*”. For e.g sample input queries could be suggest all words starting with “wa”, “st*t”, “ra*ct”

DeepakChoudhary-qrvp
Автор

Dear Sir, can you explain about search string at any position and return all nodes path up to word end. I'm using this for address search. query like select empid, address from employee where address like '%suggestion

vishaljoshi
Автор

Bro like cpp had stl what do we have in java please reply??

rohithchittibommala
Автор

Should 26 also multiply in space complexity :- O ( no_of_words * max_word_length * 26) ??

ShreyaSingh-vrqi
Автор

if any one has coded that in java please copy paste here? I'm facing issue

anjukumari-ibmd
Автор

@TECHDOSE Can you please explain this Guess the Word problem on leetcode and upload an video ?

satyanarayanagokavarapu
Автор

sir please do kth smallest element in bst in o(h) time complexity i.e by using augmented tree concept other than inorder traversal
sir please.

abhireddy
Автор

Wth is this rename it to trie 101 not autocomplete

TopToBottom
visit shbcf.ru