2493. Divide Nodes Into the Maximum Number of Groups - Explanation

Problem Link