← All questions
MediumTechnical

A local deduplication demo uses an in-memory set and prints the expected total. What must the author state before a learner copies it into a service?

1Give yourself 5 minutes
2Answer out loud, not in your head
3Then compare with the answer below
0

Reference answer

Then expect these follow-ups

  • What if the same ID has a different amount?

  • What if two workers receive the event?

Free to read · better with Enzo

Practice this out loud with Enzo

Enzo runs it as a mock interview, pushes back with follow-ups, and grades you on the rubric.