code for problems of leetcode