Problem
Given a stream of real-time event logs in a Braze-like system, write a parser to group and aggregate these events based on specific metadata keys under strict memory constraints.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

