Topics in computational learning theory and graph algorithms