[leetcode]Re-organize structure