C3 AI Interview Question

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