Grokking the Forward Deployed Engineer Interview
Vote

0% completed

​

Exercise Dates That Break Across Time Zones

A customer purchases a car insurance policy at 20:00 on day 814, in a city six hours behind the reference clock that computers use. On which day did the customer buy it?

The customer says day 814. The claims system says day 815, because on the reference clock the purchase happened at 02:00 the next day. Both are correct on their own clock, but the insurer's seven-day fraud rule uses the wrong one.

The Task

**Make the fraud rule and the daily report count days on the policyholder's own calendar

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content