Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
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.
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.