需要面试准备
风控部门每天对 1 日 VaR 模型做回测:每天早上模型给出一个 VaR 预测值 var_estimates[i](非负损失幅度),到了晚上又收到当日实际收益 returns[i]。一旦实际亏损超过了模型预测值——即 -returns[i] > var_estimates[i]——就记为一次「突破」(breach)。请实现 solution(returns: list[float], var_estimates: list[float]) -> dict。两个输入等长,长度均为 n。返回一个字典,含 breach_count(突破天数)与 breach_indices(突破日索引,升序)。