updated leetcode solutions