☑️ Finding Sum of Good Numbers. ☑️
Code
# Code
```dart []
class Solution {
  int sumOfGoodNumbers(List<int> nums, int k) {
    int sum = 0;
    for(int i = k; i < nums.length-k; i++){
        if(nums[i] > nums[i-k] && nums[i] > nums[i+k]){
            sum+=nums[i];
        }
    }

    for(int i = 0; i < k; i++){
        if(i+k < nums.length){
            if(nums[i] > nums[i+k]){
                sum+=nums[i];
            }
        }
    }

    for(int i = nums.length-1; i >= nums.length-k; i--){
        if(i-k >= 0){
            if(nums[i] > nums[i-k]){
                sum+=nums[i];
            }
        }
    }

    return sum;
  }
}
```
['Array', 'Dart']