Problem
Given a stream of customer events, design an algorithm to deduplicate repeated updates and preserve the latest state per customer.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.


