[leetcode]Re organise solution structure