list related algorithm