medium

Design a Voting Booth System

Design an electronic voting booth system. Include voter authentication, ballot rendering, vote casting with double-vote prevention, result tallying, and support for multiple voting methods.

Suggested time: 45 minutes

Loading the workspace...

About this problem

A voting booth system sounds like a form submission: pick a candidate, press submit. But underneath, the system must prevent double-voting atomically across concurrent booths, support pluggable tallying algorithms (plurality, ranked-choice, approval), maintain ballot secrecy while enabling audits, and handle election lifecycle state transitions. Let's break this down.

What your design needs to cover

  • Voter Authentication

  • Ballot Presentation

  • Atomic Vote Recording

  • Configurable Tallying

  • Concurrent Booths

Key challenges the editorial covers

Learn from other designs

Related problems

Guides