Why TLE is coming?
class Solution {\n    public boolean canReach(String s, int minJump, int maxJump) {\n        if(s.length() == 0 || s.charAt(s.length() - 1) == 0){\n            
```class Solution {\n    public boolean canReach(String s, int minJump, int maxJump) {\n        if(s.length() == 0 || s.charAt(s.length() - 1) == 0){\n            return false;\n        }\n        \n        boolean[] check = new boolean[s.length()];\n        check[0] = true;\n        Queue<Integer> q  = new ArrayDeque<>();\n        q.add(0);\n        while(!q.isEmpty()){\n            int j = q.remove();\n            for(int i = j + minJump ; i <= Math.min((j + maxJump), s.length() - 1) && i < s.length(); i++){\n                if(s.charAt(i) == \'0\' && check[i] == false){\n                    check[i] = true;\n                    q.add(i);\n                }\n            }\n        }\n                return check[s.length() - 1];\n    }\n}\n```
[]