← All questions
HardDataTechnical

For user a, changes are(v1,upsert,Ada),(v3,delete,null),(v2,upsert,Amy). User b has(v1,upsert,Bo). Versions are unique and authoritative; arrival order is as listed. Write a current-state query and describe safe incremental behavior.

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

  • How would you handle a delete followed by a legitimate recreate at a higher version?

Hiring now

Data engineer roles are open right now

landed applies to roles like these for you, on each company’s own site, with answers written for the role.

Get 5x interviews10 free auto-applies. No card.
  • Senior Data Engineer

    Inbrain · Barcelona

  • Software Engineer (AI Data Engineering)

    EvolutionIQ · Remote

  • Data Engineer

    Triumph · San Francisco HQ

Or practice this question first

Next question