Leetcode 2493. Divide Nodes Into the Maximum Number of Groups | Hello Interview