r/Hack2Hire • • 29d ago

Stripe OA: deployment windows got me

The OA question was a deployment window scheduler. First part was merging allowed windows and removing freeze periods. Then they added time zones and a few more constraints.

Thought I had the interval stuff under control, then spent way too long figuring out whether my time zone conversion was breaking a window at the edge of the week. Ran out of time before I could test everything properly. Not feeling great about it tbh.

3 Upvotes

1 comment sorted by

2

u/0ni0ncuttingninja 20d ago

I had the same round today, man that question has so many edge cases. Brutal