110. Roll to the Nearest Business Day

Medium

Given an array of dates, return each shifted 10 business days earlier. If a date itself falls on a weekend, first roll it backward to the nearest preceding business day before counting the 10 business days back.

Implement solve(...)