solutions for leetcode and other algorithmic problems