What is the data structure behind google suggest?

Posted by anony on Stack Overflow See other posts from Stack Overflow or by anony
Published on 2010-04-04T09:58:46Z Indexed on 2010/04/04 10:03 UTC
Read the original article Hit count: 347

if we have some search terms with frequency, how do I suggest the top 5 frequently searched words? The data structure used must be easily updatable.(for eg: if I want to update frequency of a term or add a new term etc...)

© Stack Overflow or respective owner

Related posts about interview-questions

Related posts about algorithm