The Wayback Machine - https://web.archive.org/web/20220406201141/https://leetcode.com/problems/remove-element/solution/