100 % faster
\nclass Solution {\n    public int smallestEqual(int[] nums) {\n       \n        for(int i=0; i<nums.length; i++)\n        {\n            if(i%10==nums[i])\n   
```\nclass Solution {\n    public int smallestEqual(int[] nums) {\n       \n        for(int i=0; i<nums.length; i++)\n        {\n            if(i%10==nums[i])\n            {\n               return i;\n            }\n        }\n        return -1;\n    }\n}\n```
[]