Coursera·Backend Engineer·Technical Phone Screen
Apr 2026
Coursera backend engineer interview with a coding question around election ballot processing. Pretty niche problem but the logic wasn't too bad once I broke it down.
- You're given a map where each key is a tuple representing a voter's full candidate ranking (most preferred first) and each value is the number of voters who submitted that exact ranking. Return the candidate with the most first-choice votes. If there's a tie, return the lexicographically smallest name among the tied candidates.
“First instinct was to overcomplicate it.”