Design a voting counter for restaurants

Quick Overview

This question evaluates familiarity with hash-table–based counting, efficient update and lookup operations, handling of ties with a deterministic tie-break rule, and reasoning about edge cases like unseen names or no votes.

Design a voting counter for restaurants

Company: Ziprecruiter

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Onsite

Overview: This question evaluates familiarity with hash-table–based counting, efficient update and lookup operations, handling of ties with a deterministic tie-break rule, and reasoning about edge cases like unseen names or no votes.

Ziprecruiter logo
Ziprecruiter
Feb 2, 2026
mediumSoftware EngineerOnsiteCoding & Algorithms
8
0
Loading...