LeetCode Solutions/Problems/2057. Smallest Index With Equal Value.java
class Solution {
    public int smallestEqual(int[] nums) {
        for (int i=0; i<nums.length; i++){
            if (i%10 == nums[i]){
                return i;
            }
        }
        return -1;
    }
}