Algorithm · Amazon · Hard
Requirements Accept a collection of log items, supplied either as raw strings or already parsed records. Because the precise layout and identifying fields are deliberately unspecified, resolve those details before implementation begins. Two frequently used forms are: Aggregate and order: collect entries under a chosen grouping key, such as user or event category, and then arrange the groups by frequency or most recent occurrence. Deduplication: merge entries sharing an…
Checking your access…