Tekion Interview - Design a Policy Engine | LLD
Question Details
Company: Tekion Round: Technical (DSA) Date: 4th April 2026 Type: Hiring Drive Difficulty: Medium-Hard # Context Attended a Tekion hiring drive on 4th April 2026. This was the
Full Details
Company: Tekion Round: Technical (DSA) Date: 4th April 2026 Type: Hiring Drive Difficulty: Medium-Hard # Context Attended a Tekion hiring drive on 4th April 2026. This was the DSA/Problem solving round. The interviewer gave a real-world design problem around a policy engine — something very relevant to Tekion's domain (automotive retail / DMS platform where configurable business rules are common). # The Question Design a Policy Engine. We define a list of policies where each policy contains a condition expression (combination of AND/OR operators over field comparisons). Given a policy ID and a data object, return ALLOWED or DENY. # What was asked specifically: 1. Design the data model for: * Policy (id, condition tree) * EvaluationRequest (policyId, data) * EvaluationResponse (policyId, decision) 2. Write code for the policy engine that evaluates the conditions and returns ALLOWED/DENY. # Sample Policy given by interviewer P1: { (creditScore >= 720 AND accountStatus == "Active") OR (receivableDays < 30) } # Sample Data { "creditScore": "750", "accountStatus": "Active", "receivableDays": "45", "annualRevenue": "600000", "yearsInBusiness": "5" } Based on policy ID and the data object, the engine should return ALLOWED or DENY. Hope this helps anyone prepping for Tekion interviews or LLD rounds in general!