Topics in combinatorics and algorithms