solutions to coding challenges from leetcode