c++ Easiest Approach
\nclass Solution {\npublic:\n    int smallestEqual(vector<int>& nums) {\n        for(int i=0;i<nums.size();i++){\n            if(i%10==nums[i]){\n              
```\nclass Solution {\npublic:\n    int smallestEqual(vector<int>& nums) {\n        for(int i=0;i<nums.size();i++){\n            if(i%10==nums[i]){\n                return i;\n            }\n        }\n        return -1;\n    }\n};\n```\n
['C']