โ† NatWest questions
Low-Level DesignReported in a candidate post, Nov 2023

Car rental system in Spring Boot from six scenarios

Filed under NatWest

The question

Convert six scenarios for a car rental system into Spring Boot code in about an hour. Starter classes for Car, Renter, DatePeriod and a DatePeriodUtil (period check and overlap check) were given; the candidate implemented rentCar, addCar, returnCar and getAllCar(criteria), designing the Criteria filters themselves.

No write-up yet. Related questions below have one.

Collected from public candidate posts and coding forums. Updated Nov 2026.