CF assignments for data structures and algorithms