Remove Every Kth Node Leetcode Javascript Problems