Classify relationships for multiple circle pairs
Company: Point72
Role: Data Scientist
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This question evaluates computational geometry skills, careful integer arithmetic for numeric precision, case-based classification logic, and analysis of time and space complexity in the Coding & Algorithms domain for Data Scientist roles.
Constraints
- Inputs are provided as Python literals matching the function signature.
- Return a deterministic exact-match result.
Examples
Input: ([((0,0,2),(3,0,1)), ((0,0,1),(0,0,1)), ((0,0,3),(0,0,1)), ((0,0,2),(5,0,2))],)
Expected Output: ['TOUCHING_EXTERNALLY', 'IDENTICAL', 'CONCENTRIC', 'DISJOINT']
Explanation: Prompt example.
Input: ([((0,0,2),(4,0,2)), ((0,0,3),(2,0,1)), ((0,0,1),(5,0,1))],)
Expected Output: ['TOUCHING_EXTERNALLY', 'TOUCHING_INTERNALLY', 'DISJOINT']
Explanation: Touching and disjoint cases.
Hints
- Choose a representation that makes the core operation simple.
- Handle empty and boundary inputs before the main algorithm.