Generate String to Maximize Unique Two-Digit Numbers Score
Generate a string that maximizes the score calculated by a given function. The function counts unique two-digit numbers in the string and returns the sum as the score, with a maximum string length of 100 characters.
Asked at:
Microsoft
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late October, 2024
Microsoft
Mid-level
Generate a string that maximizes the score calculated by a given function. The function counts unique two-digit numbers in the string and returns the sum as the score, with a maximum string length of 100 characters.
Hello Interview Premium
Your account is free and you can post anonymously if you choose.