InterviewDB
Experience
Parameter Resolver - Resolve Nested Parameter References with Dependency Ordering
phone
Interview Experience
Round 1 - Coding Problem You have a set of named parameters. Each parameter's value is either a literal string or a template string referencing other parameters using ${name} syntax. Implement a ParameterResolver that resolves all parameters to their final string values. Raise an error for circular references. Example Circular Error Case Follow-ups How do you detect cycles efficiently? Describe the DFS-based approach with state coloring. What if a parameter references a name that does not exist?…
Full Details
🔒
Unlock all Kikoff questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited access