Decompress Run-Length Encoded List Solutions in GoNumber 1313Difficulty EasyAcceptance 85.0%Link LeetCodeOther languages —SolutionsGo solution by halfrost/LeetCode-Gopackage leetcode func decompressRLElist(nums []int) []int { res := []int{} for i := 0; i < len(nums); i += 2 { for j := 0; j < nums[i]; j++ { res = append(res, nums[i+1]) } } return res}package leetcode func decompressRLElist(nums []int) []int { res := []int{} for i := 0; i < len(nums); i += 2 { for j := 0; j < nums[i]; j++ { res = append(res, nums[i+1]) } } return res }