100.00% FASTER JAVA SOLUTION
This question is a waste of time if you are not a beginner.\n\nclass Solution {\n    public int smallestEqual(int[] nums) {\n        int res = -1;\n        for 
This question is a waste of time if you are not a beginner.\n```\nclass Solution {\n    public int smallestEqual(int[] nums) {\n        int res = -1;\n        for (int i = 0; i< nums.length; ++i) {\n            if (i%10==nums[i]) {\n                res = i;\n                break;\n            }\n        }\n        return res;\n    }\n}\n```
['Java']