Go easy!
\n# Code\n\nfunc maximumDifference(nums []int) int {\n    min:= nums[0]\n    maxDiff:=-1\n    for i:=1;i<len(nums);i++{\n        if nums[i]<min{\n            mi
\n# Code\n```\nfunc maximumDifference(nums []int) int {\n    min:= nums[0]\n    maxDiff:=-1\n    for i:=1;i<len(nums);i++{\n        if nums[i]<min{\n            min=nums[i]\n        }else{\n            diff:= nums[i]-min\n            if diff>maxDiff{\n                maxDiff=diff\n            }\n        }\n    }\n    if maxDiff<=0 {\n        return -1\n    }\n    return maxDiff\n}\n```
['Go']