C++ Easy Solution || 100% Easy Solution || Only Using Simple Loop
Easiest C++ Solution\n\nclass Solution {\npublic:\n    int smallestEqual(vector& nums) {\n        int n = nums.size();\n        int finalans = -1;\n        for(
# Easiest C++ Solution\n\n**class Solution {\npublic:\n    int smallestEqual(vector<int>& nums) {\n        int n = nums.size();\n        int finalans = -1;\n        for(int i=0;i<n;i++)\n        {\n            if(i%10==nums[i])\n            {\n                finalans = i;\n                break;\n            }\n        }\n        return finalans;\n    }\n};**
['C', 'C++']