The Wayback Machine - https://web.archive.org/web/20240625122148/https://leetcode.com/problems/check-array-formation-through-concatenation/solutions/