Amazon Lab126

  www.lab126.com
  www.lab126.com

Interview Question

Software Development Engineer In Test Interview Cupertino, CA

Log analysis program. Write a java program to find number

  of occurrences of a keyword in logs. Categorize count of ERROR/INFO, files etc differently.
Tags:
algorithm
Answer

Interview Answer

1 Answer

0

Use HashMap to increment the counter against Keyword+FileName+LogMode key

Interview Candidate on May 12, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.