Count Pairs of Cyclically Equivalent Integers
Company: Capital One
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Take-home Project
Quick Answer: Count unordered index pairs whose non-negative integers have decimal strings equivalent under cyclic rotation. The algorithm challenge emphasizes a precise equivalence relation, duplicate occurrences, string-length and leading-zero semantics, scalability to 200,000 values, and pair counts beyond 32-bit range.