Given a list of strings with potential duplicates, return a new list of strings where each repeating string gets a sequential numeric suffix (e.g., '_1', '_2') based on its occurrence count, while the…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.