Recall the "Pancake problem" where we have a stack of n varying sized pancakes, no two of which are the same size. We want them to be stacked so they look like a pyramid (the largest pancake on the bottom, the smallest on the top), but they rae initially in some arbitrary order. The only way we can move pancakes is by picking up the top k (k can be 1–n) pancakes with a spatula and flipping that stack upside down onto the remainder of the pile (we can't stack pancakes somewhere else temporarily). We want to know what flips to make to get the pyramid created in the fewest steps possible.
Is this an appropriate problem to represent as a CSP? If so, list the variables, domain, and constraints. If not, explain why not.
Can't change a rubric once you've started using it.