← All challenges

Permit Eligibility

March 2023

business-rules

As part of a regulatory process, a government agency wants to determine whether an applicant is eligible for a resident permit using a simple rule: an applicant is eligible if, while married, the applicant and their spouse have shared the same address for at least 7 of the last 10 years.

Example input data:

Applicant’s address history (From, To, Address):

Spouse’s address history (From, To, Address):

Marriage periods (From, To):

Send your solutions to DecisionManagementCommunity@gmail.com, or open a pull request to add yours here.

Solutions