Google Interview Question: How do you process a set of l... | Glassdoor

Interview Question

Software Engineer Intern Interview Dublin, Co. Dublin (Ireland)

How do you process a set of log files if you don't have

  enough memory to do it?
java, inheritance, distributed computing, interfaces, mapreduce

Interview Answer

1 Answer


I don't remember the exact question, it was a task that could be solved with a unix pipe, maybe identify the number of user agents in a log file (like cat *.log | sort | uniq | grep something | wc -l), then he asked how to do it if you don't have enough time. I tried to describe the implementation using map-reduce.

Interview Candidate on Feb 9, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.