C++ || 3 lines code || Easiest ig
class Solution {\npublic:\n    int smallestEqual(vector& nums) {\n        \n        for(int i = 0; i < nums.size(); i++){\n            if(i % 10 == nums[i]) ret
class Solution {\npublic:\n    int smallestEqual(vector<int>& nums) {\n        \n        for(int i = 0; i < nums.size(); i++){\n            if(i % 10 == nums[i]) return i;\n        }\n        return -1;\n    }\n};
['C', 'C++']