for leetCode problems