def canJump_TLE(self, A):
        length = len(A)
        dp = [set([index]) for index in range(length)]

        for ind, val in enumerate(A):
            if ind!=0 and len(dp[ind])<2:
                continue

            # jump forward
            for i in xrange(ind+1, ind+val+1):
                if i>=length:
                    break
                for item in dp[ind]:
                    dp[i].add(item)

        return 0 in dp[-1]
Ensure the sphinx search daemon is running and index are built. It can
dataset/ETHPy150Open algorhythms/LeetCode/054 Jump Game.py/Solution.canJump_TLE--crossover with--dataset/ETHPy150Open winhamwr/neckbeard/neckbeard/brain_wrinkles/pstat/app.py/AppServerProvisioner._ensure_sphinx_running