Simulate stack traces from logs | Anthropic Interview Question