Merge Security Identifier Aliases Into Issuer Groups
Last updated: November 29, 2026
Quick Overview
You receive pairs of identifiers known to refer to the same security (ticker, CUSIP, ISIN, internal id). Group all identifiers into equivalence classes and answer whether two given identifiers refer to the same security.
Point72
November 29, 20260
0
0 solved
You receive pairs of identifiers known to refer to the same security (ticker, CUSIP, ISIN, internal id). Group all identifiers into equivalence classes and answer whether two given identifiers refer to the same security.
Point72 ingests vendor data and alternative data keyed by many identifier schemes, and symbology mapping is a constant source of joins gone wrong. The onsite interviewer is checking union find with path compression and union by size, and whether the candidate notices transitive merges.
What the Interviewer Expects
- Recognize transitive equivalence and choose union find
- Implement find with path compression and union by size or rank
- Map string identifiers to the structure lazily
- Answer connectivity queries in near-constant amortized time
- Return the groups when asked, not just a count
Key Topics to Cover
How to Approach This
- Clarify input constraints and edge cases before writing code.
- Walk through your approach verbally and confirm with the interviewer before coding.
- Start with a brute force solution, then optimize. Mention time and space complexity.
- Test your solution with examples, including edge cases like empty input or duplicates.
- Consider common patterns: sliding window, two pointers, hash map, BFS/DFS, dynamic programming.
Possible Follow-up Questions
- A ticker is reused by a different company after a delisting: how does pure union find break and how do you add time validity?
- How would you undo a bad mapping that was merged by mistake?
- Mappings arrive continuously from five vendors with conflicts: how do you decide which to trust?
- How does this scale to 100 million identifiers across machines?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice DSA ProblemsSample Answer
Requirements
Inputs are alias pairs. Equivalence is transitive: if a ticker maps to a CUSIP and the CUSIP maps to an ISIN, the ticker and ISIN are the same security. We need fast same-security queries and the abil...
High-Level Design
Union find keyed by identifier string. Each identifier is lazily added as its own root. Linking finds both roots and attaches the smaller tree under the larger. Find walks to the root and then compres...