Practice problems and algorithms