can anyone please provide me with a hint to solve this problem
basically we need to find all the cliques in the graph but in short time.
Update : I tried Bron-Kerbosch algorithm but it takes exponential time and the time limit for the problem is 1 sec with maximum of 128 vertices.