Implement lazy(loader): a function that defers loading until first call.Subsequent calls reuse the cached promise (no re-fetch).
lazy(loader)
solve(scenarios) returns the number of times the loader was called.
solve(scenarios)
Sample tests