Strict title set algorithm design answer summary