Search
⌘K
Get Premium
String Resolution and Variable Update
Implement string resolution and variable update functions. Given variable values (e.g. x = 'new', y = '%xworld', z = 'hello'), implement resolveString(string input) to resolve input strings with variable references, and updateVariable(char var, string value) to update variable values.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late August, 2024
Mid-level
Implement string resolution and variable update functions. Given variable values (e.g. x = 'new', y = '%xworld', z = 'hello'), implement resolveString(string input) to resolve input strings with variable references, and updateVariable(char var, string value) to update variable values.
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.