data structure problems
- by Ashish
hey guys,
please help me in finding the solution to some of these Amazon questions:
given a file containing approx 10 million words, design a data structure for finding the anagrams
Write a program to display the ten most frequent words in a file such that your program be efficient in all complexity measures.
you have a file with millions of lines of data. Only two lines are identical; the rest are all unique. Each line is so long that it may not even fit in the memory. What is the most efficient solution for finding the identical lines?