Implement a Synchronized First-Available Seat Allocator

Quick Overview

Implement a concurrent allocator that atomically returns the lowest unclaimed seat or reports that every seat is sold. The exercise focuses on linearizability, lock or compare-and-set choices, boundary races, fairness and progress trade-offs, and contention testing under a no-release rule.

Implement a Synchronized First-Available Seat Allocator

Company: Target

Role: Backend Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Online Assessment

Overview: Implement a concurrent allocator that atomically returns the lowest unclaimed seat or reports that every seat is sold. The exercise focuses on linearizability, lock or compare-and-set choices, boundary races, fairness and progress trade-offs, and contention testing under a no-release rule.

|Home/Software Engineering Fundamentals/Target
Target logo
Target
Jul 15, 2026
mediumBackend EngineerOnline AssessmentSoftware Engineering Fundamentals
2
0
Loading...
Loading comments...