Atlassian OA (2025) | Ranked Choice Voting & Halving Technical Debt

Atlassian · Question · Posted Jun 2026

Problem 1 - Ranked Choice Voting System Problem Statement You are given a 2D array of strings votes, where each row represents a ballot containing exactly three ranked choices: [FirstChoice, SecondChoice, ThirdChoice] Points are assigned as follows: 1st Choice = 3 points 2nd Choice = 2 points 3rd Choice = 1 point Determine the winning idea based on the total accumulated points. If multiple ideas have the same highest score, return the idea that comes first alphabetically. Constraints Constraint 1 ...

The full answer & interview discussion are available to premium members.

Log in Create a free account