Smallest Index With Equal Value 🧑‍💻🧑‍💻 || JAVA solution code 💁💁...
\n\n# 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   
\n\n# 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            }\n        }\n        return -1;\n    }\n}\n```
['Java']