You are given an integer array nums that represents a list compressed with run length encoding.
Consider each adjacent pair of elements [freq, val] = [nums, nums] for each freq copies of the value val.
Return the decompressed list formed by concatenating all the generated sublists in order.
Constraints:
nums.length
nums.length
nums[i]
You are given an integer array nums that represents a list compressed with run length encoding.
Consider each adjacent pair of elements [freq, val] = [nums, nums] for each freq copies of the value val.
Return the decompressed list formed by concatenating all the generated sublists in order.
Constraints:
nums.length
nums.length
nums[i]