C ++ implementation to count the number of ways to partition the string such that each partition have same number of distinct characters in the string
#include <bits/stdc++.h> NEW_LINE using namespace std ;