C3 AI interview question

Given an integer k and a graph, find a k-star graph