Featurespace Interview Question

Give in pseudocode a solution to a coding problem.