Convert a Roman Numeral to an Integer
Company: Apple
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Onsite
Overview: This question evaluates a candidate's ability to parse string input and apply conditional arithmetic logic to convert Roman numerals into integers. It tests string traversal skills and edge-case handling of subtractive notation, commonly used to assess foundational algorithmic thinking in coding interviews.