Log Parser with Multi-Line Follow-up
Asked at Oracle · Coding Questions · Difficulty: Medium · Last asked Aug 6, 2025
Parse a stream of log lines of the form `<unix_timestamp> <LEVEL> <message>` into a structured format and validate well-formedness. The recurring follow-up extends each log entry to span multiple physical lines until the next timestamp-prefixed line starts a new entry.
Loading the problem…
More Oracle interview questions
- Multi-Head Attention from Scratch
- System Design — Event Ingestion + Top-K Aggregation
- OOD — File Management System
- Two-Stack FIFO Queue with Amortized O(1) Operations
- Evaluating an LLM Agent with Subjective, Nondeterministic Outputs
- Same N-ary Tree Comparison