ArraysEasy
What pattern does this problem use?
An event ticketing platform receives a batch of ticket IDs for validation. Before processing, it needs to reject any batch that contains a duplicate ID. Given a list of ticket IDs, return true if any ID appears more than once.
Example: [TK001, TK004, TK002, TK001] → true (TK001 appears twice).
Pick a pattern: