Amazon Interview Question

They asked me a graph bipartite question.