PagerDuty interview question

1. Light coding exam (no tricky data structures or algorithms but challenging enough in interview setting).