Sitelet https://web.archive.org/web/20201112033833/https://leetcode.com/problems/degree-of-an-array/