Interview Question: logs parsing library
One of the question I often ask in my interview is to design a log processing library: You need to write a library for processing logs in the following format: timestamp<TAB>message The library will be handed over to a different team for further maintenance and improvements and so maintainability and expandability is the most most important requirements. The library need to support the following operations out of the box: filtering counting histograms The original version also included some language and background specific expectations I never include in my assessment because I feel that they put the candidate into a position when they need to read my mind to meet those expectations. ...