Klaviyo interview question

api and sql based. more towards code correctness than leetcode