InterviewDB
Question
Generate Email: Build an Email Template Engine with Variable Substitution and Conditionals
phone
Question Details
Problem Implement a simple email template engine. A template is a string that may contain: Variable substitutions: {{name}}, {{order_id}} Conditional blocks: {% if premium %}...{% endif %} Given a template string and a context dict, render the final…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone