Remove Every Kth Node Leetcode Playground Java