I currently have a recursive function that outputs permutations of a list. It outputs every permutation, but i want it to only output specific ones after all permutations are found.
Does anyone know how I could create a sort of global variable list that i can keep adding to when the recursion meets one permutation goal.
Does anyone know how I could create a sort of global variable list that i can keep adding to when the recursion meets one permutation goal.