int* givenStringBucket = this->BucketSortString("Hello");
12345678
int* BucketSortString(string s) { int a[26] = { 0 }; for (size_t i = 0; i < s.size(); i++) { int num = static_cast<int>(s[i]) - 97; a[num] = a[num] + 1; } return a; }
int a[26] = { 0 };