solutions for questions in leetcode