Given a set of variables X, and a set of subsets of these variables, each set of size k (each subset includes exactly k variables), we would like to find an assignment 1...k to each variable such that no 2 variables in the same set have the same value assigned to them.
Suppose we are given a Decision Algorithm (as an oracle for a turing/cook reduction), that instantly ( in O(1) ) answers "Yes" whether a given X and a set of subsets of X has such an assignment, and "No" otherwise, can we find an assignment in polynomial time?
Thank you