Problem Statement
What is a race condition in concurrent Swift code?
Explanation
A race condition occurs when concurrent operations access or modify the same data without coordination, leading to inconsistent or unexpected behaviour. In Swift you must ensure thread-safety, typically using serial queues, locks, or other concurrency primitives.