Jump Game II

之前的方法每次从1 开始查,这里改成从之前的max的下一位开始查。因为在之前的一轮已经检测过newindex 到 max的值

time complexity (n!)

results matching ""

    No results matching ""