new post LeetCode: remove elements