leetcode, remove nth node from end, valid parentheses, zigzag conversion