1424. Diagonal Traverse II
450. Delete Node in a BST
824. Goat Latin
16. 3Sum Closest
1868. Product of Two Run-Length Encoded Arrays
1868. Product of Two Run-Length Encoded Arrays
Description
Run-length encoding is a compression algorithm that allows for an integer array nums
with many segments of consecutive repeated numbers to be represented by a (generally smaller) 2D array encoded
. Each encoded[i] = [vali, freqi] describes the i^th
segment of repeated numbers in nums
where vali is the value that is repeated freqi times.