Remove Every Kth Node Leetcode Javascript Problems Solving For X