simple smooth || c++ solution || cpp || easy understand
\t// simple smooth\n\t\n\tclass Solution {\n\tpublic:\n\t\tint smallestEqual(vector& nums) {\n\t\t\tint i = 0;\n\t\t\twhile(  i < nums.size() && i % 10 != nums[
\t// simple smooth\n\t\n\tclass Solution {\n\tpublic:\n\t\tint smallestEqual(vector<int>& nums) {\n\t\t\tint i = 0;\n\t\t\twhile(  i < nums.size() && i % 10 != nums[i]) i++; \n\t\t\treturn  i >= nums.size() ? -1 : i;\n\t\t}\n\t};
['C', 'C++']