Smallest string of length n where every letter appears an odd number of times
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: easy
Interview Round: Other
Overview: Given a length n up to 500, return the lexicographically smallest lowercase string in which every letter that appears occurs an odd number of times. It tests parity reasoning and a short argument that the constructed string is the minimal valid one.