Bets 100% runtime and memory
Quote
Everything should be made as simple as possible, but not simpler.
Code
> Quote
Everything should be made as simple as possible, but not simpler.

# Code
```golang []
func maximumDifference(nums []int) int {
    out:= -1
    for i:= 0 ; i< len(nums)-1; i++{
        for j:= i+1 ;j< len(nums); j++{
            if nums[j]-nums[i]>out && nums[j]-nums[i] != 0{
             out=nums[j]-nums[i]
        }
        }
    }
    return out
}
```
['Go']