Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Overdue Training Eligibility

MediumExecution00:00
Practice interviewer
In session
5 left
00:00

Your question is Overdue Training Eligibility. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Given an employee's start day and the number of days they have to complete a required (security/compliance) training, write a function to determine whether that employee is overdue as of a given day. Extend it to compute the aggregated overdue days across all employees in a group.

Asked in the technical_phone_screen stage. This is part of Vanta's product coding track and relates to its compliance and training-tracking product domain.

Explain your assumptions about date boundaries, represent the input and output clearly, and describe how you would test edge cases.