Senior Software Engineer
Sort Policy Names with Roman Numerals
Given an array of policy names with Roman numeral suffixes (e.g., ['MAX_BUPA_IX', 'ICICI_LOMBARD_XIX']), sort them by the integer value of the Roman numeral first, then alphabetically. **Approach**: Parse Roman numerals into integers using a HashMap, create pairs of {policyName : number}, and sort these entries using a custom Comparator and lambda (first by value, then by key).
This question was asked in
Paytm Senior Software Engineer Interview Experience
The interview process at Paytm consisted of three rounds, focusing on Data Structures and Algorithms (DSA) as well as System Design concepts. Candidates faced a mix of coding challenges and design questions, with increasing difficulty as they progressed. Overall, the experience was engaging, providing insights into technical problem-solving and design skills required at Paytm.