Java | very easy solution | Beats 100% | O(n) => (^___^)
Have fun with my code (^__^)\n\nclass Solution {\n    public int smallestEqual(int[] nums) {\n        for (int i = 0; i < nums.length; i++)\n            if (i %
# Have fun with my code (^__^)\n```\nclass Solution {\n    public int smallestEqual(int[] nums) {\n        for (int i = 0; i < nums.length; i++)\n            if (i % 10 == nums[i])\n                return i;\n        return -1;\n    }\n}\n```
['Java']