edit leetcode: remove Nth node from end of list