Message Logger with a Chain of Handlers
Asked at Oracle · Coding Questions · Difficulty: Easy · Last asked Nov 10, 2026
Build a small logging component in which a message travels through an ordered list of handlers before it is finished. Each handler can look at the message, change it, record it, or stop it, and whatever it passes on is what the next handler sees.
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