NNew Relic·DSAEngineerTechnical Phone Screen
Group Logs by Window
Problem
Given timestamped log entries, bucket them into fixed time windows and count errors per window.
Example
logs -> {window: error_count}
Constraints
- Stream-friendly
Approach
Map window -> count; discuss late/out-of-order events.
added 6 days ago