the solution of leetCode problems