new update for leetcode

data structure of linkedlist and tree