Amazon Interview QuestionSDE1s
Country: United States
Yes the CSV would be <MovieName>,<Genre>,<Year>. This problem statement is trying to gauge the design pattern and data structure knowledge of the candidate. Should I be using a class structure and store objects in the dictionary? I am thinking that would be kind of inefficient, but cannot wrap my head around any other approach for this.
Can you give an example ? Would the CSV file be formed by <MovieName>,<Genre>,<Year>? one per line? How large is the file? Should the index be built into main memory?- guilhebl May 16, 2018